HTML Capabilities

Example
Version v0.9.0
Updated
Author Víctor Goñi Sanz License MIT

A brief test of HTML features, showcasing common elements used in webpages.

Headings

This demonstrates different HTML heading levels.

Main Heading Example

Sub-heading

Smaller Sub-heading


Emphasis

You can style text with emphasis in HTML as well:


Lists

Ordered List

You can create ordered lists:

  1. First item
  2. Second item
  3. Third item

Unordered List

Unordered lists are also simple:


Task Lists

Using HTML for task lists:


Code Blocks

Inline HTML code: print(“Hello, world!”)

Pre

HTML code block:

print("Hello world")

Hidden Code Block with Summary

Sometimes you want to hide content, like a code block, and reveal it on request using a <details> and <summary> combination:

Click to reveal code

  <html>
    <head>
      <title>Hidden Code</title>
    </head>
    <body>
      <h1>Hello World!</h1>
    </body>
  </html>
  

Creating a simple link in HTML:

Click here to visit Example.com.


Media

Images

Inserting an image in HTML:

Example Image

Video Embed

Embedding a YouTube video:

YouTube Video Thumbnail


Blockquotes

Blockquotes in HTML:

A sample blockquote.
Spanning multiple lines.

Tables

Tables are easy to create and adjust in HTML:

Syntax Description
Header Title
Paragraph Text

Grids

Using HTML to create a grid layout:

Grid 1
Grid 2
Grid 3

Tree