LearningFuze Mod 1 - HTML Flashcards
This is for HTML
Where do you put non-visible content about the HTML document?
Between the head element tags
Where do you put visible content about the HTML document?
Within the body element
Where do the head and body tags go in a valid HTML document?
The head tag goes after html element, and the body tag goes after the closing head element
What is the purpose of a !DOCTYPE declaration?
It tells the web browser what type of HTML I use
Give five examples of HTML element types.
p tag, div tag, header tags example h1-h6, image tag, a tag
What is the purpose of HTML attributes?
It modifies element tags
Give an example of an HTML entity (escape character).
© is the copyright symbol and an example of HTML entity
How do block-level elements affect the document flow?
Block element takes up the width of the page
How do inline elements affect the document flow?
Will fall in line and take up only as much space with the content given
What are the default width and height of a block-level element?
By default, the height of a block element is the height of the content, and the width is the length of the page
What are the default width and height of an inline element?
The height and width of an inline element is exactly the height and width of the content.
What is the difference between an ordered list and an unordered list in HTML?
The order list is numbered and the unordered list is bullet points
Is an HTML list a block element or an inline element?
It is block element
What HTML tag is used to link to another website?
< a > tag
What is an absolute URL?
It’s the entire web address