90 terms

HTML

Notes from W3 Schools HTML tutorial
STUDY
PLAY
h1-6
heading
p
paragraph
a
links
a href
link location attribute
"lower-case"
Attribute values require and case
class=""
attribute specifying classname
id=""
attribute specifying identifier
style=""
attribute specifying in-line style
title=""
Specifies extra information about an element (displayed as a tool tip)
<hr />
horizontal line
<!-- -->
html comment
<br />
line breaks
<b>
Defines bold text
<big>
Defines big text
<em>
Defines emphasized text
<i>
Defines italic text
<small>
Defines small text
<strong>
Defines strong text
<sub>
Defines subscripted text
<sup>
Defines superscripted text
<ins>
Defines inserted text
<del>
Defines deleted text
<code>
Defines computer code text
<kbd>
Defines keyboard text
<samp>
Defines sample computer code
<tt>
Defines teletype text
<var>
Defines a variable
<pre>
Defines preformatted text
<abbr>
Defines an abbreviation
<acronym>
Defines an acronym
<address>
Defines contact information for the author/owner of a document
<bdo>
Defines the text direction
<blockquote>
Defines a long quotation
<q>
Defines a short quotation
<cite>
Defines a citation
<dfn>
Defines a definition term
<style> not <font>
Defines font style
<style> not <font>
Underline
<style> not <font>
Alignment
<style> not <font>
Background colour
<style> not <font>
colour
target="_blank"
Attribute to open link in a new window
name="tips"
Attribute to set an anchor
href="#tips"
Attributes to link to an anchor
<img />
Display an image
src=""
Source file for image
alt=""
Alternative text for image
<map>
Defines an image-map
<area />
Defines a clickable area inside an image-map
align=""
Alignment of an image (top/middle/bottom)
<table>
Defines a table
<th>
Defines a table header
<tr>
Defines a table row
<td>
Defines a table cell
<caption>
Defines a table caption
<colgroup>
Defines a group of columns in a table, for formatting
<col />
Defines attribute values for one or more columns in a table
<thead>
Groups the header content in a table
<tbody>
Groups the body content in a table
<tfoot>
Groups the footer content in a table
<ol>
Defines an ordered list
<ul>
Defines an unordered list
<li>
Defines a list item
<dl>
Defines a definition list
<dt>
Defines an item in a definition list
<dd>
Defines a description of an item in a definition list
<form>
Defines an HTML form for user input
<input />
Defines an input control
<textarea>
Defines a multi-line text input control
<label>
Defines a label for an input element
<fieldset>
Defines a border around elements in a form
<legend>
Defines a caption for a fieldset element
<select>
Defines a select list (drop-down list)
<optgroup>
Defines a group of related options in a select list
<option>
Defines an option in a select list
<button>
Defines a push button
type
Attibute for <input /> (button,checkbox, file, hidden, image, password, radio, reset, submit, text)
<iframe>
Defines an inline sub window
<!DOCTYPE>
Defines the document type. This declaration goes before the <html> start tag
Strict
HTML4.01 that doesn't include font
Transitional
HTML4.01 that does include font, but not frames
Frameset
HTML4.01 that does include font and frames
<link rel="stylesheet" type="text/css" />
External stylesheet tag in header
<style type="text/css">
Internal stylesheet in header
<base>
Header tag for link defaults (href="base", target="")
<script>
Script tag
<noscript>
Text if not scripting
<meta />
Metadata header tag
<object data="">
Multimedia player
DOCTYPE declaration, html, head, title, and body elements must also be present.
Mandatory fields for XHTML
YOU MIGHT ALSO LIKE...