Skip to content

Latest commit

 

History

History
127 lines (126 loc) · 3.04 KB

File metadata and controls

127 lines (126 loc) · 3.04 KB

#HTML Block Elements

address

Contact information.

article ((HTML5))

Article content.

aside (HTML5)

Aside content.

blockquote

Long ("block") quotation.

canvas (HTML5)

Drawing canvas.

dd

Definition description.

div

Document division.

dl

Definition list.

fieldset

Field set label.

figcaption (HTML5)

Figure caption.

figure (HTML5)

Groups media content with a caption (see

).

footer (HTML5)

Section or page footer.

form

Input form.

h1, h2, h3, h4, h5, h6

Heading levels 1-6.

header (HTML5)

Section or page header.

hgroup (HTML5)

Groups header information.

hr

Horizontal rule (dividing line).

li

List item.

main

Contains the central content unique to this document.

nav

Contains navigation links.

noscript

Content to use if scripting is not supported or turned off.

ol

Ordered list.

output (HTML5)

Form output.

p

Paragraph.

pre

Preformatted text.

section (HTML5)

Section of a web page.

table

Table.

tfoot

Table footer.

ul

Unordered list.

video (HTML5)

Video player.

#HTML Inline Elements

b

Bold.

big

Makes the text font size one size bigger.

i

Italics.

small

Makes the text font size one size smaller.

tt

Displays in the browser's default monotype font.

abbr

Represents an abbreviation.

acronym

Allows authors to clearly indicate a sequence of characters that compose an acronym.

cite

Cite sources.

code

Represents a fragment of computer code.

dfn

Represents the defining instance of a term.

em

Marks text that has stress emphasis.

kbd

The HTML Keyboard Input Element represents user input and produces an inline element displayed in the browser's default mono-space font.

strong

Gives text strong importance, and is typically displayed in bold.

samp

Intended to identify sample output from a computer program.

time

Represents either a time on a 24-hour clock or a precise date,

var

Represents a variable in a mathematical expression or a programming context.

a

Defines a hyper-link.

bdo

Used to override the current directionality of text.

br

Line break.

img

Image.

map

Used with elements to define an image map.

object

Represents an external resource, which can be treated as an image, a nested browsing context, or a resource to be handled by a plug-in.

q

Indicates that the enclosed text is a short inline quotation.

script

Used to embed or reference an executable script.

span

Generic inline container for phrasing content.

sub

Defines a span of text that should be displayed, for typographic reasons, lower, and often smaller, than the main span of text.

sup

Defines a span of text that should be displayed, for typographic reasons, higher, and often smaller, than the main span of text.

button

Represents a clickable button.

input

Used to create interactive controls for web-based forms in order to accept data from the user.

label

Represents a caption for an item in a user interface.

select

Represents a control that presents a menu of options.

textarea

Represents a multi-line plain-text editing control.