Search over 10,000 free study notes
Over a million students use our free study notes to help them with their homework
Top answers
What is the difference between classes and IDs?
Classes refer to a whole group of elements. For example all paragraphs on the website should contain red writing. In order to do this they all have to belong to the same class. We give them a class by adding...
MF
Answered by
Milena F.
•
HTML and CSS tutor
2419 Views
How do you link a CSS document to a HTML file?
Both files need to be stored within the same folder. Once this has been done, within the <head> tags of your HTML file (the header), you will need to create a link to the CSS file. This is done by usin...
KW
Answered by
Kalvin W.
•
HTML and CSS tutor
2354 Views
Many different data types can be stored on a computer system. Five common data types are string, Boolean, real, character and integer. Give suitable examples of data that could be held in each data type.
The correct answer for this question which is GCSE Computer Science example is:String - example: "University"Boolean - example: FALSE, TRUE, 0, 1. Real - example: 1.1Char - example: "P"In...
Answered by
•
HTML and CSS tutor
2900 Views
How can I centre-align an item horizontally within another element?
To centre-align an element using CSS, we will make the margins either side of the element of equal width. First, ensure that the elements width is set to less than 100%.width: 80%; This is important as other...
DS
Answered by
Daniel S.
•
HTML and CSS tutor
3957 Views
Describe the advantages and disadvantages of the three main ways of adding CSS to a website
Inline Advantages Ability to override a general css rule for one instance Disadvantages Can lead to style inconsistencies as rules need to be manually applied to each element; Would take a long time to style...
TB
Answered by
Thomas B.
•
HTML and CSS tutor
3238 Views
1
2
3
4
5