HTML


Operators

""

Declares a value to an attribute

=

Links an attribute with a value

<a href="link">

<>

Declares an opening or lone tag

<br>

</>

Declares a closing tag

Tags

<h1>

Declares a heading block element

<h1>text</h1>

<p>

Declares a paragraph block element

<p>text</p>

<stan>

Declares a stanza

<stan>text</stan>

<body>

Declares a body

<body>
 tags
</body>

<span>

Declares a generic inline element

<em>

Declares italics

<em>text</em>

<i>

Declares an italic block element (depreciated)

<p>text</p>

<strong>

Declares bold

<strong>text</strong>

<br>

Declares a break

<br>

<ol>

Declares an ordered (numbered) list

<ol>
 tags
</ol>

<li>

Declares an item in a list

<li>text</li>

<video>

Declares a video

<video src="media" width="size" height="size" controls>text</video>

<img>

Declares an image

<img src="media">text</img>

<a>

Declares an anchor

<a href="media">text</img>

<title>

Declares page title in header, the title seen in the tab

<title>text</title>

<form>

Declares a form block

<input>

Declares an input field

<script>

Declares inline Javascript

<noscript>

Text displayed when Javascript is not supported by browser

<svg>

Declares an SVG object

<style>

Declares inline CS inline CSS

<sup>

Declares a block of superscript text

<sub>

Declares a block of subscript text

<audio>

Declares a block of audio

<ruby>

Declares a block of furigana-esque text

<header>

Declares a header

<footer>

Declares a footer

<table>

Declares a table

<tr>

Declares a table row

<th>

Declares a table header

<td>

Declares a table data cell

<code>

Declares a piece of computer code, makes text into monospace

<kbd>

Declares a piece of keyboard input text

<iframe>

Declares a video through a videosite

<button>

Declares a button

<meta>

Declares page metadata

<!DOCTYPE>

Declares type of HTML used on page

<!DOCTYPE html>

<blockquote>

Declares a block of a quote

<q>

Declares a short quote

<div>

Declares a generic block element

<link>

Links HTMl file with another file (such as a CSS file or Javascript file)

Attributes

id

Declares id of a specifictag instance

class

Declares class of a tag's instance

src

Declares media source

alt

Declares alternative text to media

href

Declares hypertext media source

target

Declares method of hypertext redirect

style

Inserts CSS code

type

Determines type of object used

charset

Determines the character set used in a document

lang

Determines document's laguage

type

Determines type of document being included

Commenting

<!--

Opens a comment

-->-

Closes a comment