Programming Notes | HTML Beginner

Headings

Module 2

  • 4.9
  • 2021 Scheme | Programming Department

HTML Beginner Module 2 Programming Notes




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 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 h1tag 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.

Powered by Froala Editor

Course Faq

Announcement

AcquireHowTo

Admin 1 year ago

Upcomming Updates of the AcquireHowTo

  • -- CGPA/SGPA Calculator with University Filter.
  • -- Student Projects Guide and Download.
  • -- Article Publishing platform for different categories.
  • -- Courses for students on different topics.
  • -- Student Dashboard for AcquireHowTo Products.
  • -- Online Portal to buy Minor Projects and Major Projects.
  • -- Last year Exams Question paper .
  • These all updates are comming soon on our portal. Once the updates roll out you will be notified.

1st
Semester
154
Total Views

1st Sem Programming Department Programming Notes
Full lifetime access
10+ downloadable resources
Assignments
Question Papers
No downloadable resourse avilable for now!

© copyright 2021 AcquireHowTo