What is HTML:- It is hypertext markup language, it is used to create internet web pages. It is generally a collection of certain keywords called 'tags' that are helpful in writing the document to be displayed using a web browser on internet. A web browser understands and interprets the HTML tags, identifies the document which is called web page. HTML was developed by Tim Berners-Lee at CERN(lab) in Geneva. Creating an HTML document is very simple coding HTML uses two things Notepad and web browser. HTML Elements:(1) HTML tag: it is used to indicate that this is an HTML document. (2) head tag: It is used to indicate header section of the HTML document, it is generally use title tag. Head tag is always placed after HTML tag. (3)Title tag: It is used to indicates the title of the HTML page. It gives the document a title which is displayed on the web browser's titlebar at the top. (4) body tag: This tag contains all the text and graphics of the document with all the HTML tags that are used for control and formatting of the page. Everything inside the body tag is displayed on the web browser inside the main web browser.
|Some common HTML tags: (1) body tag : it contains all text and graphics of the documents with all the HTML tags that are used for control and formatting of the page. (2) h1......h6 heading tags: h1 defines largest heading and h6 defines lowest heading tags. (3) paragraph tag : p tag defines a paragraph. (4) br tag: This tag is used when you want to end a line but not want to start a new paragraph. br tag is empty tag doesn't contains close tag. (5) pre tag: It is used to control over spacing and line break such as typing a poem or displaying a programming code. (6) horizontal tag: It is used to create horizontal line in an HTML page. Character formatting tags: (1) bold tag: It displays the text in boldface. (2) italics tag : Displays the text in italics. (3) under line tag : underlies the text inside the page. (4) superscript tag: Displays the enclosed text in superscript. The superscript text is placed above the baseline. (5) subscript tag: Displays the enclosed text in subscript. The subscript text is placed below the baseline. (6) font tag: It is used to add style ,color and size to the text of your page .|