From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
|
HTML element/tag |
Description |
CSS equivalent |
---|
Computer code phrase elements |
<code> | Code snipper | |
<var> | Variable | |
General block elements |
<blockquote> | Block quotation | |
<hr> | Horizontal Rule | |
<p> | Paragraph | |
General phrase elements |
<cite> | Citation | |
<em> | Emphasis-italics | |
<strong> | Strong-emphasis-bold | |
Headings |
<h1> | Heading | |
<h2> |
<h3> |
<h4> |
<h5> |
<h6> |
HTML Comment |
<!-- ... --> | SGML comment | |
Images and objects |
<br> | line-Break | |
Lists |
<dd> | Definition | |
<dl> | Definition List | |
<dt> | Definition Term | |
<li> | List Item | |
Official presentational markup |
<b> | Boldface | font-weight: bold |
<big> | Bigger | font-size: larger |
<center> | Center | |
<font> | Font | <span color: ; font-family: ; font-size: ;> |
<i> | Italic | font-style: italic |
<s> | Strikethrough | font-decoration: line-through |
<strike> |
<small> | Smaller | font-size: smaller |
Ordered list |
<ol> | Ordered list-enumerated | list-style-type: |
<ul> | Unordered list-bulleted | list-style-type: |
Other containers |
<div> | Division | |
<pre> | Pre-formatted | font-family: monospace; white-space: pre; |
Presentational markup |
<tt> | TeleType | font-family: monospace |
<u> | Underline | text-decoration: underline |
Ruby |
<rb> | Ruby Base text | |
<rp> | Ruby Parenthesis | |
<rt> | Ruby Text | |
<ruby> | Ruby container | |
Special inline elements |
<sub> | Subscript | vertical-align: sub |
<sup> | Superscript | vertical-align: super |
Tables |
<caption> | Caption | |
<table> | Table | |
<td> | Table Data cell | |
<th> | Table Header cell-row or column | bold, center |
<tr> | Table Row | |