HTML Flashcards
Where the non-visible content of the HTML document goes
In between the “head” element’s opening & closing tags
Where the visible content of the HTML document goes
In between the “body” element’s opening & closing tags
Where do the “head” and “body” tags go in a HTML document?
In between the “html” element’s opening & closing tags
What is purpose of the DOCTYPE declaration?
Lets browser know what version of HTML is being used (HTML5)
What is the purpose of HTML attributes?
Gives more information or data about the HTML element
Give an example of an HTML entity (escape character)
Multiplication: & # 215 ; or & times ;
Copyright: & # 169 ; or & copy ;
Give five examples of HTML element tags.
< body > , < head > , < html >, < div >, < header >
What is the difference between an unordered list & ordered list?
Unordered - bullet points
Ordered - numbers
How to build a description list?
“dl” (description list)
“dt” (description term)
“dd” (description definition)
What is an absolute URL?
Full web address for a website (domain name then path to specific page)
What is a relative URL?
Shorthand for linking to pages on the same site (don’t need to specify the domain name)
What are other ways we can use an anchor tag?
- Directing to other sections of same webpage
- Downloading files
- Link to email or phone number
How do you indicate the parent folder in a path?
.. / fileName
How do you indicate the child folder in a path?
folderName / fileName
How do you indicate the grandparent folder in a path?
.. / .. / fileName