HTML Flashcards
Where do you put non-visible (metadata) content about the HTML document?
the element
Where do you put visible content about the HTML document?
the element
Where do the and tags go in a valid HTML document?
the element
What is the purpose of a declaration?
to declare which language/documenty type the browser will run
Give five examples of HTML element tags
, , , <h1>, </h1><p>, etc</p>
What is the purpose of HTML attributes?
attributes provide additional information about their element(s)
Give an example of an HTML entity
©
®
What is the difference between an ordered list and an unordered list in HTML?
Ordered lists are numbered while unordered lists are bulleted
What three HTML elements do you use to build a description list?
- Description list <dl>
- Description term <dt>
- Description definition </dt><dd></dd></dl>
What is an absolute URL?
A link to a full web address
What is a relative URL?
A link to another page on the same site
What other ways can we use an anchor tag?
- Making an email link
- linking to different part on the same page
- opening a new window
- linking to a different part on a different page
How do you indicate the parent folder in a path?
Use “../” then name of file
How do you indicate the child folder in a path?
Use the name of the child folder, then forward slash “/”, then name of file
How do you indicate the grandparent folder in a path?
Use “../../”, repeating the parent folder and then follow with the name of file
How do you indicate the current folder in a path?
Simply use the file name - nothing else needed.
What are the six primary elements for creating tables?
- 6.
What purpose do the and elements serve?
- is used to display the headings of the table
2. is used to display the actual body/contents of the table
Give two examples of data that would lend itself well to being displayed in a table
Grades and sports statistics
Why are forms useful?
They compile data in an easy/simple way
What attribute do you have to match between a and an
the ‘for’ attribute in and the ‘id’ attribute in
What type of input allows you to select multiple items in a dropdown?
the attribute
What is the action of a form?
The location of where the data is being sent
What is the purpose of an HTML form element?
To create a form on the webpage
Give five examples of form control elements:
Possible answers:
- text input
- password input
- text area
- radio buttons
- checkboxes
- drop-down boxes
- submit buttons
- image buttons
- file upload
Give three examples of type attributes for the HTML elements
Possible answers:
- text
- password
- radio
- checkbox
- file
- submit
- image
- hidden