Skip to main content

Learn HTML for beginner : Headings

They are h1h2h3h4h5 and h6h1 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>
    <h1>My first web page</h1>

    <h2>What this is</h2>
    <p>A simple page put together using HTML</p>

    <h2>Why this is</h2>
    <p>To learn HTML</p>
</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

Popular posts from this blog

Free tips to save yourself from phishing

Free tips to save yourself from phishing Phishing is a type of social building method utilized by programmers to assemble delicate data, for example, usernames, passwords and Visa points of interest by acting like a trustworty individual/association. Since most online clients are ignorant of the methods utilized as a part of completing a phishing assault, they regularly fall exploited people

get free google adsense in 24 hours tips and tricks : 2

get google adsense free tips and tricks :  2 Hello individuals. You may already know that search engines brings in all-around $761. 71 each second. This uncomplicated supply advertising which usually obtain placed on the websites and websites and search engines obtain payed as someone visit them. Just about every beginner doodlekit when when tried out to come up with a few profit through it's