FANDOM


#infobox { font-size:89%; width:330px; border-radius:3px; -webkit-border-radius:3px; -moz-border-radius:3px; border:1px solid #D2D2D2; box-shadow: 0 0 3px rgba(0,0,0,0.07),0 0 0 rgba(0,0,0,0); -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.07),0 0 0 rgba(0,0,0,0); -moz-box-shadow: 0 0 3px rgba(0,0,0,0.07),0 0 0 rgba(0,0,0,0); color: #3a3a3a; margin-bottom: 0.5em; margin-left: 1em; margin-right: -1.4em; padding: 0.2em; float: right; clear: both; }

h1, h2, h3, h4, h5, h6

Name

Headings

Description

Creates different sized headers which display in the text of the page.

Deprecation in HTML 4.01

No

HTML5 Support

Yes

MediaWiki Support

Yes

Tag Type

Basic

The <h1> to <h6> tags are used to display titles, organized by most important (heading 1) to least important (heading 6).


The syntax for the heading tags are shown below.

<h1>text</h1>
<h2>text</h2>
<h3>text</h3>
<h4>text</h4>
<h4>text</h5>
<h6>text</h6>

Here is an example.

<h1>I'm the most important title!</h1>
<h2>Second is the best!</h2>
<h3>I'm not as important.</h3>
<h4>4th least important.</h4>
<h5>At least I'm more important than below.</h5>
<h6>Unfortunately, I'm the very least important title.</h6>

The output is shown below.

I'm the most important title!

Second is the best!

I'm not as important.

4th least important.

At least I'm more important than below.
Unfortunately, I'm the very least important title.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.