0% found this document useful (0 votes)
16 views

Codebreaker

This document provides a reference of common HTML tags, listing each tag and a brief description. It includes tags for text formatting, images, lists, tables, forms, media, and more. The reference contains over 80 tags in total, organized alphabetically from <a> to <wbr>.

Uploaded by

warren
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

Codebreaker

This document provides a reference of common HTML tags, listing each tag and a brief description. It includes tags for text formatting, images, lists, tables, forms, media, and more. The reference contains over 80 tags in total, organized alphabetically from <a> to <wbr>.

Uploaded by

warren
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

XHTML / HTML 5

Tag Reference

Tag Description
<!--...--> Determines a comment
<!DOCTYPE> Determines the document type
<a> Determines a hyperlink
<abbr> Determines an abbreviation
<acronym> Determines an acronym (not supported in HTML5)
<address> Determines contact information for the author/owner of a document
<applet> Determines an embedded applet (not supported in HTML5. Deprecated in HTML 4.01)
<area> Determines an area inside an image-map
<article> Determines an article
<aside> Determines content aside from the page content
<audio> Determines sound content
<b> Determines bold text
<base> Specifies the base URL/target for all relative URLs in a document
<basefont> Specifies a default color, size, and font for all text in a document (not supported in HTML5. Deprecated in HTML 4.01)
<bdi> Isolates a part of text that might be formatted in a different direction from other text outside it
<bdo> Overrides the current text direction
<big> Determines big text (not supported in HTML5)
<blockquote> Determines a section that is quoted from another source
<body> Determines the document's body
<br> Determines a single line break
<button> Determines a clickable button
<canvas> Used to draw graphics, on the fly, via scripting (usually JavaScript)
<caption> Determines a table caption
<center> Determines centered text (not supported in HTML5. Deprecated in HTML 4.01)
<cite> Determines the title of a work
<code> Determines a piece of computer code
<col> Specifies column properties for each column within a <colgroup> element
<colgroup> Specifies a group of one or more columns in a table for formatting
<command> Determines a command button that a user can invoke
<datalist> Specifies a list of pre-defined options for input controls
<dd> Determines a description/value of a term in a description list
<del> Determines text that has been deleted from a document
<details> Determines additional details that the user can view or hide
<dfn> Determines a definition term
<dialog> Determines a dialog box or window
<dir> Determines a directory list (not supported in HTML5. Deprecated in HTML 4.01)
<div> Determines a section in a document
<dl> Determines a description list
<dt> Determines a term/name in a description list
<em> Determines emphasized text
<embed> Determines a container for an external (non-HTML) application
<fieldset> Groups related elements in a form
<figcaption> Determines a caption for a <figure> element
<figure> Specifies self-contained content
<font> Determines font, color, and size for text (not supported in HTML5. Deprecated in HTML 4.01)
<footer> Determines a footer for a document or section
<form> Determines an HTML form for user input
<frame> Determines a window (a frame) in a frameset (not supported in HTML5)
<frameset> Determines a set of frames (not supported in HTML5)
<h1> to <h6> Determines HTML headings
<head> Determines information about the document
<header> Determines a header for a document or section
<hr> Determines a thematic change in the content
<html> Determines the root of an HTML document
<i> Determines a part of text in an alternate voice or mood

1
XHTML / HTML 5
Tag Reference

Tag Description
<iframe> Determines an inline frame
<img> Determines an image
<input> Determines an input control
<ins> Determines a text that has been inserted into a document
<kbd> Determines keyboard input
<keygen> Determines a key-pair generator field (for forms)
<label> Determines a label for an <input> element
<legend> Determines a caption for a <fieldset> element
<li> Determines a list item
<link> Determines the relationship between a document and an external resource (most used to link to style sheets)
<map> Determines a client-side image-map
<mark> Determines marked/highlighted text
<menu> Determines a list/menu of commands
<meta> Determines metadata about an HTML document
<meter> Determines a scalar measurement within a known range (a gauge)
<nav> Determines navigation links
<noframes> Determines an alternate content for users that do not support frames (not supported in HTML5)
<noscript> Determines an alternate content for users that do not support client-side scripts
<object> Determines an embedded object
<ol> Determines an ordered list
<optgroup> Determines a group of related options in a drop-down list
<option> Determines an option in a drop-down list
<output> Determines the result of a calculation
<p> Determines a paragraph
<param> Determines a parameter for an object
<pre> Determines preformatted text
<progress> Represents the progress of a task
<q> Determines a short quotation
<rp> Determines what to show in browsers that do not support ruby annotations
<rt> Determines an explanation/pronunciation of characters (for East Asian typography)
<ruby> Determines a ruby annotation (for East Asian typography)
<s> Determines text that is no longer correct
<samp> Determines sample output from a computer program
<script> Determines a client-side script
<section> Determines a section in a document
<select> Determines a drop-down list
<small> Determines smaller text
<source> Determines multiple media resources for media elements (<video> and <audio>)
<span> Determines a section in a document
<strike> Determines strikethrough text (not supported in HTML5. Deprecated in HTML 4.01)
<strong> Determines important text
<style> Determines style information for a document
<sub> Determines subscripted text
<summary> Determines a visible heading for a <details> element
<sup> Determines superscripted text
<table> Determines a table
<tbody> Groups the body content in a table
<td> Determines a cell in a table
<textarea> Determines a multiline input control (text area)
<tfoot> Groups the footer content in a table
<th> Determines a header cell in a table
<thead> Groups the header content in a table
<time> Determines a date/time
<title> Determines a title for the document
<tr> Determines a row in a table

2
XHTML / HTML 5
Tag Reference

Tag Description
<track> Determines text tracks for media elements (<video> and <audio>)
<tt> Determines teletype text (not supported in HTML5)
<u> Determines text that should be stylistically different from normal text
<ul> Determines an unordered list
<var> Determines a variable
<video> Determines a video or movie
<wbr> Determines a possible line-break

You might also like