html Flashcards
where do you put non-visible content about the html document?
within the head element.
where do you put the visible content about the html document?
within the body element.
where do the head and body tags go in a valid html document?
within the html element, with the head first and the body after.
what is the purpose of the declaration?
to tell the browser which version of html the page is using.
give 5 examples of html element tags.
img, p, div, span, h1.
what is the purpose of html attributes?
provide additional information about the contents of an element.
give an example of an html entity.
© for the copyright symbol.
how do block-level elements affect the document flow?
block elements always appear on a new line.
how do inline elements affect the document flow?
inline elements appear on the same line as their neighboring elements.
what are the default width and height of a block-level element?
block level elements take up the whole line.
what are the default width and height of an inline element?
inline elements only take up as much space as needed.
what is the difference between an ordered list and an unordered list in html?
ordered lists are numbered and unordered lists use bullet points.
is an html list a block element or an inline element?
lists are block elements.
what html tag is used to link to another website?
the a tag
what is an absolute url?
A url that links to a page outside of the current website