HTML Flashcards
Where do you put non-visible content about the HTML document?
(html-skeleton)
Within the Head tag.
Where do you put visible content about the HTML document?
html-skeleton
Within the Body tag.
Where do the head and body tags go in a valid HTML document?
html-skeleton
Within the HTML tag.
What is the purpose of a declaration?
html-skeleton
It declares that the rest of the document will be in HTML.
Give five examples of HTML element tags.
html-syntax
Div, Html, Body, Script, Head, Title.
What is the purpose of HTML attributes?
html-syntax
They provide more information about the elements; Like grouping them.
How do block-level elements affect the document flow?
html-block-and-inline
They take up all the space between the tags.
How do inline elements affect the document flow?
html-block-and-inline
They only take up as much space as needed between the tags.
What are the default width and height of a block-level element?
(html-block-and-inline)
Both are auto.
What are the default width and height of an inline element?
html-block-and-inline
Both are auto.
What is the difference between an ordered list and an unordered list in HTML?
(html-lists)
Ordered: The text-content is numbered
Unordered: The text-content isn’t numbered
What is the difference between an ordered list and an unordered list in HTML?
(html-lists)
Ordered: The text-content is numbered
Unordered: The text-content isn’t numbered.
Is an HTML list a block element or an inline element?
html-lists
Block element.
What HTML tag is used to link to another website?
html-links
Anchor tag (a).
What is an absolute URL?
html-links
a URL that typically links to a different webpage.