HTML Flashcards
Where do you put non-visible content about the HTML document?
Within the head element
Where do you put visible content about the HTML document?
Within the body element
Where do the and tags go in a valid HTML document?
Between the HTML tags, head going first followed by body
What is the purpose of a declaration?
To declare the type of document we’re working with
Give five examples of HTML element types.
- head
- body
- p
- img
- h1-h6
What is the purpose of HTML attributes?
To add context and or features to an element
Give an example of an HTML entity (escape character).
Copyright ©
Registered Trademark ®
Ampersand &
How do block-level elements affect the document flow?
block-level elements start on their own line
How do inline elements affect the document flow?
Inline elements sit within a block level element and do not start on their own line
What are the default width and height of a block-level element?
The default width and height of a block-level element are of equal value to their parent element
What are the default width and height of an inline element?
The default width and height of an inline element is equal to its content
What is the difference between an ordered list and an unordered list in HTML?
An ordered list is categorized by numbers, and an unordered list is categorized by bullets
Is an HTML list a block element or an inline element?
block element
What HTML tag is used to link to another website?
<a></a>
What is an absolute URL?
When you link to a different website the absolute URL will be the full web address for the site