Leak Society - The Home Of Nulled Resources.
Forum Beta v1 Now Live!
[Tutorial] How to start a HTML webpage! Part 5
Thead Owner : Lord Royal, Category : Everything Coding, 0 Comment, 11 Read
Viewers: 1 Guest(s)
Senior Member
****
647
Messages
101
Threads
0
Rep
4 Years of Service
02-22-2014, 11:36 PM
#1
Headings

The p tag is just the start of text formatting.

If you have documents with genuine headings, then there are HTML tags specifically designed just for them.

They are h1, h2, h3, h4, h5 and h6, h1 being the almighty emperor of headings and h6 being the lowest pleb.

Change your code to the following:


<!DOCTYPE html>

<html>

<head>
<title>My first web page</title>
</head>

<body>
My first web page

What this is
A simple page put together using HTML


Why this is
To learn HTML

</body>

</html>
Note that the h1 tag is only used once, as the main heading of the page. h2 to h6, however, can be used as often as desired, but they should always be used in order, as they were intended. For example, an h4 should be a sub-heading of an h3, which should be a sub-heading of an h2.


Forum Jump: