HTML Flashcards
Create HTML pages using HTML syntax Apply sectioning elements, headings, images, links, paragraphs, lists, forms and tables. Create properly structured HTML pages.
HTML is a subset of ______.
HTML is a subset of XML.
Every web page has the same basic ______ no matter how extensive the contents of each page
Every web page has the same basic structure no matter how extensive the contents of each page
The also contains meta tags which are used to denote information about the document.
The also contains meta tags which are used to denote information about the document.
<a> </a>
<a> Anchor</a>
Used to link to another part of the page or a new page altogether.</a>
<h1>, <h2>,<h3>, <h4>, <h5>, <h6></h6></h5></h4></h3></h2></h1>
<h1>, <h2>,<h3>, <h4>, <h5>, <h6> Headings
Implementation of headings and subheadings may not be as straightforward as it seems.</h6></h5></h4></h3></h2></h1>
Semantic elements allow developers to describe content _______.
Semantic elements allow developers to describe content more precisely.
A header navigation with a list of links should be marked up like so:
<ul>
<li><a>Home </a></li>
<li><a>Contact </a></li>
<li><a>Blog </a></li>
</ul>
The “href” attribute is the ____.
The “href” attribute is
1. url that the link points towards 2. the “target” attribute would mean the page would open up in a new browser window/tab.
<a>Link to Google</a>
The “_____” attribute states the path to the image file.
The “_____” attribute provides information about the image if the file was not found or if the document reader cannot process the image.
The “src” attribute states the path to the image file .
The “alt” attribute provides information about the image if the file was not found or if the document reader cannot process the image.
<img></img>
What are block-level elements?
Block-level elements are those that start a new line with the opening tag and then start another new line after the closing tag.
An example of this would be the <p> </p> paragraph tags or the <h1> </h1> heading tags or the section tags
The “_____” attribute states the path to the image file
The “_____” attribute provides information about the image if the file was not found or if the document reader cannot process the image.
The “src” attribute states the path to the image file
The “alt” attribute provides information about the image if the file was not found or if the document reader cannot process the image.
What are block-level elements?
Block-level elements are those that start a new line with the opening tag and then start another new line after the closing tag.
An example of this would be the <p> </p> paragraph tags or the <h1> </h1> heading tags or the section tags
What are inline elements?
Inline elements are inserted into a block-level element and do not interrupt the flow of the content.
Examples of inline tags:
<a> </a> - specifies an anchor to a hyperlink destination
<strong> </strong> - all text between tags would be set apart (default is bold…see Physical versus Logical below)
<em> </em> - all text between tags would be emphasized (default is italic…see Physical versus Logical below)
<img></img> - specifies an image; this tag is a self-closing tag (note the / before the >)
Forms are groups of fields that allow users to enter _____, check-off _____, pick from _____, click _____, etc.
Forms are groups of fields that allow users to enter text, check-off boxes, pick from lists, click buttons, etc.
When you want to retrieve information from your user, HTML allows you to receive user input by creating ______.
When you want to retrieve information from your user, HTML allows you to receive user input by creating forms.