Ads

Friday, 24 August 2018

A BRIEF INTRODUCTION TO HTML


What is HTML?
HTML stands for Hyper Text Markup Language. HTML is not a programming language but a markup language. HTML uses tags to describe web pages.

What is Tags?
HTML tags are keywords surrounded by angle brackets like <html>. HTML tags are normally in pairs, opening tags and closing tags. For example, <b> and </b>, the first one is the opening tag, the second is the closing tag. They are also called start and end tags.

How an HTML looks like
<html>
     <title> My First HTML </title>
     <body>
              <h1> First Heading </h1>
              <p> First paragraph</p>
     </body>
</html>

HTML Heading
Heading are defined with the <h1> to <h6> tags. <h1> defines the largest heading. <h6> defines the smallest heading.
<h1>This is the largest heading.</h1>
<h2>This heading is smaller than the first.</h2>
<h3>This heading is smaller than the second.</h3>
<h4>This heading is smaller than the third.</h4>
<h5>This heading is smaller than the fourth</h5>
<h6>This is the smallest heading</h6>

No comments:
Write comments

Contact us

Name

Email *

Message *