Module 1 Flashcards
Where do you put non-visible content about the HTML document?
In the Head element/tag
Where do you put visible content about the HTML document?
In the body element/tag
Where do the and tags go in a valid HTML document?
After the html element, put the head element. After the head element put the body element.
What is the purpose of a declaration?
It tells the browser what type of HTML you are using.
Give five examples of HTML element tags.
, , , <h1></h1>, <p></p>
What is the purpose of HTML attributes?
HTML attributes are modifiers of HTML Elements and they are used to distinguish certain elements from others alike.
Give an example of an HTML entity (escape character).
¢, &, ®
How do block-level elements affect the document flow?
They make the text spaced out more and appear in their own line.
How do inline elements affect the document flow?
Inline elements modifies the text itself without moving it around too much.
What are the default width and height of a block-level element?
By default, a block-level element expands to a width of 100% of its parent container
What are the default width and height of an inline element?
They keep their default height and width and flow within the flow
What is the difference between an ordered list and an unordered list in HTML?
An ordered list is numbered and unordered list is doted
Is an HTML list a block element or an inline element?
Block Element
How do you indicate the relative link to a parent directory?
/folder-name/folder-name/folder-name
How do you indicate the relative link to a child directory?
/folder-name/folder-name/folder-name