HTML Quiz Questions Flashcards
Where do you put non-visible content about the HTML document?
Within the < head > element
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?
Within the < html > element
What is the purpose of a < !DOCTYPE > declaration?
Declaration of the document type, so the browser knows what to expect
What is the purpose of HTML attributes?
Provide additional information/context about elements.
Give an example of an HTML entity (escape character).
©
‘
“
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists are numbered (1, 2, 3, 4)
Unordered lists are bulleted
What three HTML elements do you use to build a description list?
< dl >
< dt >
< dd >
What is an absolute URL?
Links to a website (https)
What is a relative URL?
Usually a local address, within the same machine such as images in a folder.
What other ways can we use an anchor tag?
Navigating to a section on the same page
How do you indicate the parent folder in a path?
”../”
How do you indicate the child folder in a path?
“/child-folder/”
How do you indicate the grand parent folder in a path?
”../../”
How do you indicate the current folder in a path?
”./”