HTML Flashcards
How do you indicate the parent folder in a path?
../fileName.file – two dots, forward slash, name of file.
How do you indicate the child folder in a path?
childFolder/fileName.file – name of folder, forward slash, name of file
How do you indicate the grand parent folder in a path?
../../fileName.file – two dots, forward slash, two dots, forward slash, fileName.file
How do you indicate the current folder in a path?
FileName.file – Just type the filename. No dots or forward slashes needed.
What are the six primary HTML elements for creating tables?
table, thead, tbody, tr, th, td
What purpose do thetheadandtbodyelements serve?
Thead defines a set of rows defining the head of columns of the table. Tbody like, thead and tfoot, provide useful semantic info that can be used when rendering for either screen or printer as well as for accessibility purposes.
Give two examples of data that would lend itself well to being displayed in a table.
stocks and sports stats.
What is an absolute URL?
The web address to a specific page.
What is a relative URL?
A path to other pages within the same site.
What other ways can we use an anchor tag?
Linking to another part of the same page, links that open in a new browser/tab, links that start up your email program and address a new email to someone.
- Where do you put non-visible content about the HTML document?
the head
- Where do you put visible content about the HTML document?
the body
- Where do the headand bodytags go in a valid HTML document?
in html tag
- What is the purpose of a doctypedeclaration?
- To tell the browser which version of HTML your page is using.
Give five examples of HTML element tags.
a, img, li, div, p, br, etc