HTML Tags

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

<hr>

Creates a "horizontal rule" that shows a thematic change in the content

<del>

Creates strikethrough text; defines text that has been deleted from a document

<h1> to <h6>

Defines HTML headings; h1 is largest, most important and h6 is smallest, least important.

<figcaption>

Defines a caption for a <figure> element

<td>

Defines a cell in a table

<script>

Defines a client-side script; often JavaScript

<!-- You won't see me on the page. -->

Defines a comment in HTML

<embed>

Defines a container for an external (non-HTML) application

<footer>

Defines a footer for a document or section

<th>

Defines a header cell in a table

<header>

Defines a header for a document or section

<a>

Defines a hyperlink; usually contains the "href" attribute to function properly

<li>

Defines a list item; a child element of <ul> and <ol>

<p>

Defines a paragraph

<code>

Defines a piece of computer code; uses Courier New font

<tr>

Defines a row in a table

<section>

Defines a section in a document

<div>

Defines a section in a document; used to group content

<span>

Defines a section in a document; usually used for inline segments, for example within a paragraph for a certain word or sentence.

<blockquote>

Defines a section that is quoted from another source

<br>

Defines a single line break

<table>

Defines a table

<title>

Defines a title for the document; placed in <header>; will appear in browser's tab

<video>

Defines a video or movie; new HTML 5 element.

<form>

Defines an HTML form for user input

<abbr>

Defines an abbreviation or an acronym

<article>

Defines an article

<img>

Defines an image; must use the "src" attribute to function properly.

<iframe>

Defines an inline frame

<ol>

Defines an ordered list

<ul>

Defines an unordered list

<address>

Defines contact information for the author/owner of a document

<aside>

Defines content aside from the page content; aka "sidebar"

<em>

Defines emphasized text; creates italics text

<strong>

Defines important text; bold text

<head>

Defines information about the document; includes <title>, <meta>, favicon and stylesheet references

<mark>

Defines marked/highlighted text

<meta>

Defines metadata about an HTML document; often uses the name attribute to define author, description, or keywords

<source>

Defines multiple media resources for media elements (<video> and <audio>)

<nav>

Defines navigation links

<audio>

Defines sound content

<style>

Defines style information (CSS) for a document; placed in <header> for internal (single-page) use

<track>

Defines text tracks for media elements (<video> and <audio>)

<!DOCTYPE html>

Defines the document type; first line of an HTML page.

<body>

Defines the document's body; where all content that appears on a page will go.

<link>

Defines the relationship between a document and an external resource (most used to link to style sheets)

<html>

Defines the root of an HTML document

alt="Description goes here"

Attribute for <img> that describes the image for screen reading programs

style="property:value;"

Attribute that can format the look of an HTML element inline. For example, <p style="color: red;"> ... </p>

target="_blank"

Attribute that defines where a hyperlink should open. In this example, a new tab.

id="value"

Attribute that gives a name to an HTML element. Can be used to link to sections of the page and be called up in CSS.

href="http://somesiteaddress.com"

Attribute that indicates where a hyperlink should go.

src="imagename.jpg"

Mandatory attribute for <img> that indicates the URL of the image to be shown

<figure>

Specifies self-contained content, such as a chart, graph, illustration, or table.

<main>

Specifies the main content of a document

<canvas>

Used to draw graphics, on the fly, via scripting (usually JavaScript); new to HTML 5


Ensembles d'études connexes

BUS 220-Ethics in Contemporary Organizations Midterm

View Set

Chapter 3 - Legal Concepts of the Insurance Contract

View Set

"flowers for Algernon" questions review

View Set

Chapter 9.3.7 Practice Questions

View Set

Pituitary, hypothalamus and pineal gland

View Set