HTML Flashcards
Where do you put non-visible content about the HTML document?
In the head element
Where do you put visible content about the HTML document?
In the body element
Where do the head and body tags go in a valid HTML document?
In the HTML element
What is the purpose of a declaration?
Tells the browser what version of HTML the page is written in.
Give five examples of HTML element tags.
Head Body Footer Title HTML
What is the purpose of HTML attributes?
To modify the default functionality of an element type
Give an example of an HTML entity (escape character).
Semicolon copyright ampersand
How do block-level elements affect the document flow?
It changes the layout of a page and is read from top to bottom
How do inline elements affect the document flow?
Renders a single unbroken text flow and is read from left to right
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists are lists where each item in the list is numbered, Unordered lists are lists that begin with a bulletin point and have no specific order
Is an HTML list a block element or an inline element?
Block element
What are the default width and height of an inline element?
Auto
What are the default width and height of a block-level element?
Height: auto width: 100%
What HTML tag is used to link to another website?
“A” tag
What is an absolute URL?
Contains all the information necessary to locate a resource