This site serves as a demo for HTML Documents.

When you see something in Parentheses (Like this text) it means that that's how you call it. When making HTML, you type in the starting thing (tag) (ex. <h1>) and then after that you repeat it but with a / before the type. ie </h1>

So, an HTML Heading (Type 1) would look like this: "<h1>Hello World!</h1>".

To View this page's source code (for seeing the thingies used in a website) press "CTRL+U"

DEMOS: (for help with your own website.)


tag's:


This is a Heading. (h1)

This is a Heading. (h2)

This is a Heading. (h3)

the heading tags go all the way down to h6

im h6 IM FUNKING TINY >:[

This is a paragraph. It is smaller than a heading (p) except for h6 >:]

The Img Type

DuckDuckGo's Icon Clicking me goes to DuckDuckGo. (a)

The Image above is an example of the "<img>" type. It needs more arguments than just plumping it in.

like this <img src="favicon"> would not work due to it just being 'favicon' you need to put an url to an image like:

"https://www.google.com/favicon.ico"

in the 'favicon' part would display the favicon for google.com

so to embed an img and have it link to something you need to do <a href="https://example.org"> ,<img src="https://example.org/favicon.ico"> </a>but without the spaces at the beginning and end

like this:

google.com

The Button Tag

the button tag(<button>) just adds a button to your page

\

it, too, requires more arguments than just plumping it in.

like this <button type=button onclick="alert('message')">name of button </ button>

where it says alert('message') can just be any javascript like 'window.location.replace(https://www.youtube.com/watch?v=lYBUbBu4W08)' to go to never going to give you up

attribute value description
autofocus autofocus Specifies that a button should automatically get focus when the page loads
disabled disabled specifies a button that should be disabled
form form Specifies which form the button belongs to
information form_id Specifies which form the button belongs to
name name specifies the name of button (name="button"")
type button reset submit specifies the type of button (type=button)
value text specifies the initial value for the button