HTML Introduction

Posted by Tushar Bedekar
As HTML is mainly used to write and develop web pages so lets start with the basic program me and detailed description about the different part is given below:-

Basic Structure of the web page 

program me:-

<!DOCTYPE html>


<h1>My First Heading</h1>

<p>My first paragraph.</p>


Explanation:-   The DOCTYPE declaration defines the document type.The text between <html> and </html> describes the web page.The text between <body> and </body> is the visible page content.The text between <h1> and </h1> is displayed as a heading.The text between <p> and </p> is displayed as a paragraph


HTML markup tags are usually called HTML tags
  • HTML tags are keywords (tag names) surrounded by angle brackets like <html>
  • HTML tags normally come in pairs like <b> and </b>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • The end tag is written like the start tag, with a forward slash before the tag name
  • Start and end tags are also called opening tags and closing tags
Style to write the tags in HTML:-<tagname>content</tagname>

HTML Editors

Generally there are many different type of editor for HTML programming such as:-
  1. Note pad
  2. Microsoft Visual Studio
  3. Sub-line Text editor Etc.
and also generally web browsers are used to see the out put of the program me 

Following is the most basic editor that we have used to write the HTML program me
that is note pad note pad
                2.write the above program me and save it.
       browser and open the note pad from the file option given in the toolbar of                          the browser.


Post a Comment

back to top