HTML Flashcards
First line in an HTML5 document. Tells web browsers that this document is an HTML5 document.
First line in an HTML5 document. Tells web browsers that this document is an HTML5 document.
Attribute used to provide the file name of an image
src=
This tag contains information about the document -
contains metadata, information, and instructions to the Web browsers & Search Engines
This tag defines the largest heading
<h6></h6>
This tag is used to create links
<a></a>
This tag defines emphasized text with italics
Ex: A sentence that uses <em>this</em> tag!
<em></em>
Each item in an ordered list or unordered list must use this tag Ex: <ul>a list <li> list item one </li> <li> list item two </li> </ul>
<li>
</li>
This tag creates a line break
<br></br>
This tag creates a horizontal line across the page
<hr></hr>
Attribute used to control the appearance of an element; specifies the inline style for an element
Ex: <h1 style> Headline for the Page</h1>
style=
All of the content to be displayed on the page is in this tag
This tag marks the start of a web page document
This tag allows you to add a picture to your web page
Ex: <img></img>
<img></img>
This tag creates an indented block
<blockquote></blockquote>
Quoted text
Ex: To be or not to be…
Attribute used provide the URL for a hyperlink
Ex: <a> SFA</a>
href=
This tag creates a list with numbers Ex: <ol>a list <li> list item one </li> <li> list item two </li> </ol>
<ol></ol>
This tag creates a list with bullets Ex: <ul>a list <li> list item one </li> <li> list item two </li> </ul>
<ul></ul>
This tag creates paragraphs
Ex: <p> A statement to be displayed on the pages </p>
<p></p>
Use this tag to add comments to your web page
Ex:
Attribute used provide text when an image cannot displayed & readers read this to the users who do not see the pages
Ex: <img></img>
alt=
Defines the title; shows on the tab – not on the web page
An attribute that creates a tool tip –a text box that appears as the user’s mouse hovers over it
Ex: Monet’s <cite> Water Lilly</cite> is one of the most famous works of art.
title=
Defines contact information in a document
Ex: <address> SFA, 1936 North Street, Nacogdoches TX 75964 </address>
<address></address>
Defines a title to a work - a work of art, a book, an art piece, …
Ex: Monet’s <cite> Water Lilly</cite> is one of the most famous works of art
<cite></cite>
Defines a description of a term in a definition list
Ex: <dl>
<dt>Network</dt>
<dd>structure linking computers together for the purpose of sharing resources </dd>
</dl>
<dd></dd>
Defines the text to be bolded
Ex: <strong>Study</strong> for the Final Exam!
<strong></strong>
Defines a definition list Ex: <dl> <dt>Network</dt> <dd>structure linking computers together for the purpose of sharing resources </dd> </dl>
<dl></dl>
Defines a term (an item) in a definition list
Ex: <dl>
<dt>Network</dt>
<dd>structure linking computers together for the purpose of sharing resources </dd>
</dl>
<dt></dt>
Defines metadata about an HTML document
Ex:
Defines subscripted text
Ex: In that equation, x1 equals 10
Defines superscripted text
Ex: 22 is 4
Defines a table
Ex:
Zoom-Zoom Mazda’s advertisement
Defines a cell in a table
Defines a header content in a table
Defines a table row
Specifies a unique id for an element
Ex: <h1> Headline</h1>
id=
Describes and abbreviated phrase; informs search engines
Ex: The <abbr>US</abbr> is in North America.
<abbr></abbr>
Horizontally aligns the contents of an element.
Ex: <p style> In the center. </p>
text-align
Sets the text color of an element.
Ex: <p style> Purple colored letters!</p>
color
Sets the text size of an element.
Ex: <p style>Bigger than normal font!</p>
font-size
Sets the background color of an element.
Ex: <p style>Purple background.</p>
background-color