HTML Flashcards
Where do you put non-visible content about the HTML document?
In the head Tag
Where do you put visible content about the HTML document?
In the body tag
Where do the head and body tags go in a valid HTML document?
Between the Html tags
What is the purpose of a !Doctype declaration?
DOCTYPE declaration tells a browser which version of HTML the page is using
Give five examples of HTML element tags.
p, span, div, head, title
What is the purpose of HTML attributes?
They provide additional information about the contents of an element. Or Configuring information.
Give an example of an HTML entity (escape character).
©
How do block-level elements affect the document flow?
A block-level element always takes up the full width available (stretches out to the left and right as far as it can).
How do inline elements affect the document flow?
only occupies the space bounded by the tags defining the element
An inline element does not start on a new line and only takes up as much width as necessary.
What are the default width and height of a block-level element?
A block-level element always takes up the full width available (stretches out to the left and right as far as it can).
width is 100%
height is auto
What are the default width and height of an inline element?
An inline element only takes up as much width as necessary.
Width: auto
Height: auto
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 bullet point
Is an HTML list a block element or an inline element?
Block element
What HTML tag is used to link to another website?
a tag
What is an absolute URL?
A website URL on the internet