HTML Flashcards
What is the difference between an ordered list and an unordered list in HTML?
Unordered list means a bulleted list, and ordered list means a numbered list.
What three HTML elements do you use to build a description list?
Description list, description term, and description definition.
How do you indicate the parent folder in a path?
dot dot forward-slash (../), then file name
How do you indicate the child folder in a path?
name of folder, then forward-slash, then file name
How do you indicate the grand parent folder in a path?
dot dot forward-slash x2 (../../), then file name
How do you indicate the current folder in a path?
file name
Give five examples of HTML element tags.
p, h1, a, html, body, title
What is the purpose of HTML attributes?
Attributes provide additional information about the contents of an element.
Give an example of an HTML entity (escape character).
(&)
Where do you put non-visible content about the HTML document?
In the head element
Where do you put visible content about the HTML document?
In the body element
What is the purpose of a !DOCTYPE declaration?
To declare what type of document the computer will read
What are the six primary HTML elements for creating tables?
table, thead, tbody, tr, th, td
What purpose do the thead and tbody elements serve?
thead contains the table head information, tbody contains the table body information
Give two examples of data that would lend itself well to being displayed in a table.
Any data on a spreadsheet
What is an absolute URL?
A link to a different website
What is a relative URL?
A link to a page within the website
Why are forms useful?
Forms allow to collect and store data input from users
What attribute do you have to match between a label and an input?
For and id
What type of input allows you to select multiple items in a dropdown?
select, and option goes inside the select element
What is the action of a form?
The destination the data is going to
What is the purpose of an HTML form element?
allows you to collect information from visitors to your site
Give five examples of form control elements.
text input, password input, text area, radio button, checkbox, drop-down list box, submit button
Give three examples of type attributes for HTML elements.
text, radio, checkbox, password