In a HTML web page an identifier is:
A unique reference to an HTML element.
A reference to multiple instances of an HTML element.
A unique reference to an HTML page.
A class can be used to:
Style numerous instances of an HTML tag
Style any element in an HTML page labelled with the class name
Refer to a specific instance of an element.
What is meant by a rule?
A measurement of an element.
A style definition which references a tag, class or identifier.
Which is the correct selector for an ID?
.redText{
}
#columnLeft{
body{
Which is the correct selector for a class?
#contentRight{
Which type of positioning would best be used to place an element in a permanent position on an HTML page?
Absolute
Relative
Fixed
Which of the statements best describes the float property of CSS?
A floated element is placed next to the previous HTML element if there is enough room, otherwise it is placed underneath.
A floated element is positioned at the side of the screen you tell it to, it will stand over the top of other elements sharing the same space.
Which is the correct description of the box model?
The margin is added to the element, followed by the padding, followed by the border - this affects the overall actual size of the element.
The padding is added to the element, followed by the border, followed by the margin - this affects the overall actual size of the element.
What is meant by document flow
The way the text flows in the page
The way the tags are ordered originally in the HTML
The way the text flows within a tag
What is meant by a compound selector?
A HTML element that is embedded within another element.
A complicated reference to an element in a page.