HTML Flashcards
Where do you put non-visible content about the HTML document?
In the
Where do you put visible content about the HTML document?
In the
Where do the and tags go in a valid HTML document?
In the
What is the purpose of a declaration?
It tells the web browser what version of HTML the page is written in.
Give five examples of HTML element tags.
html, head, body, title, h1 (many correct answers)
What is the purpose of HTML attributes?
Attributes are a modifier of and HTML element type.
Give an example of an HTML entity (escape character).
Registered Trademark (&ref;), Copyright Symbol (©) [many correct answers]
How do block-level elements affect the document flow?
They start on the next line
How do inline elements affect the document flow?
They do not take up any “extra” space – stay in the same line
What are the default width and height of a block-level element?
width – 100% of its parent element
height – as high as the height of the text
What are the default width and height of an inline element?
width – of the text
height – of the text
What is the difference between an ordered list and an unordered list in HTML?
ordered list – the order matters, and they are numbered numerically
unordered list – the order does not matter, and they are typically listed with bullets
Is an HTML list a block element or an inline element?
A block element
What HTML tag is used to link to another website?
Anchor tag
What is an absolute URL?
An absolute URL contains all the information necessary to locate a resource