HTML Flashcards
Where do you put non-visible content about the HTML document?
head element
Where do you put visible content about the HTML document?
body element
Where do the and tags go in a valid HTML document?
html element
What is the purpose of a DOC TYPE declaration?
tell browser what html version to address
Give five examples of HTML element tags.
h1, p1, ul, ol, dl, li, etc…
What is the purpose of HTML attributes?
provide more information about the content contained within that element.
Give an example of an HTML entity (escape character).
& would be used for &
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists create numbered items while unordered lists dot each item.
What three HTML elements do you use to build a description list?
dl, dt, dd
How do you indicate the parent folder in a path?
../
How do you indicate the child folder in a path?
filename
How do you indicate the grand parent folder in a path?
../../filename
How do you indicate the current folder in a path?
./
What are the six primary HTML elements for creating tables?
table, td, tr, th, tbody, thead, tfoot
What purpose do the thead and tbody elements serve?
Differentiate the first row from the rest of the table stylistically
Give two examples of data that would lend itself well to being displayed in a table.
Stock listings and airplane terminals and times
What is an absolute URL?
Link built all the way from protocol (http)
What is a relative URL?
Linking webpages within a site
What other ways can we use an anchor tag?
Link to other parts of page with ID attribute
Why are forms useful?
Feedback from user
What attribute do you have to match between a label and an input?
match the for attribute to the id attribute
What type of input allows you to select multiple items in a dropdown?
What is the action of a form?
Specifies where the data is sent
What is the purpose of an HTML form element?
Contain interactive controls/displays for user interaction
Give five examples of form control elements.
button, option, select, input, textarea
Give three examples of type attributes for HTML elements.
email, radio, text, checkbox, password, etc.