Skip to content

Instantly share code, notes, and snippets.

@rks
Last active April 27, 2021 17:01
Show Gist options
  • Save rks/8191c5360c5c5b2f506c0f247596670b to your computer and use it in GitHub Desktop.
Save rks/8191c5360c5c5b2f506c0f247596670b to your computer and use it in GitHub Desktop.

All the HTML elements

An HTML element <style>h1 { color: red; }</style> <title>Example</title> Some body text

123 Fake Street

A new article This is an aside... Some footer content Some header content

Custom h1

Custom h2

Custom h3

Custom h4

Custom h5
Custom h6
The main section Some navigation
A section
blockquoted
Term
Definition
A custom div

An image in a figure
  1. ordered
  2. list

Custom paragraph

Preformatted
  • unordered
  • list

A link

abbr

Bold

Supporting LTR

Right to left


A citation

Some code

Some data

A definition

Emphasis

Italic

Keyboard

Marked

Quoted

()(lái)西()()(Malaysia)

Stricken

Sampled

Small

In a span

Strong

Subscripted

Superscripted

Jan 1

Underlined

A variable

Brokenwords

noaudio

<iframe src="http://example.com">

a2+b2=c2

Canvas description

Shown if there is no JavaScript

<script>console.log('script')</script>

Deleted

Inserted

A table
OneTwo
12
OneTwo
Fields<textarea></textarea>oneTwoSubmit
A summaryThe details
Hello? One

Content goes here

ackr

Large!

On and off

Align centered

Some content

A directory

Custom font

This is in a frame

Three

Four

An image


search

An obsolete listing

Scrolly

A menu item

Some columns

Do not wrap this text

<noembed>Not embedded</noembed>

<noframes>Not framed</noframes>

<plaintext>Raw text from here on out

Stricken

Teletyped

<xmp>This is an example</xmp>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment