Submitted By : MUHAMMAD AYAZ KHAN Reg No #:UOW-13-cps-MSC-020
Sir, MUHAMMAD KAMRAN
Department Of Computer science
UOW, Wah Cantt.
Tag #:1 <html> </html>
The html tag identifies the documents as an HTML document.technically this tag is superfluous after <!DOCTYPE> tag.It is also helpful to people who read the HTML cod.The starting tag is <html> and ending tag is </html>. Tag #:2 <head> </head> The head tag contain information about the document, including its title,scripts used, styl definitions, and document descriptions.Not all browsers require this tag.Additionally the <head> tag can contain other tags that have information for search engines and indexing program. To add a <head> tag enter between the <html> tag. <html> <head> </head> </html> Tag #:3 <TITLE></TITLE> Tag: The title tag contain the document title.The title dost appear within the browser window although it is usually visible in the browser title bar. To use <title> tag enter it between the opening and closing <head> tag. <html> <head> <title>My first page </title> </head> </html> 1
Tag #:4 <body></body> Tag :
The <body> tag encloses all the tags attributes and information that visitors browser to display.The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. The body tag have many attributs such as bgcolor,background etc. The bgcolor is used to set a background color of the page body.. And the background is used to insert background image. <html> <head> <title>My first page </title> </head> <body bgcolor=green background=flowe.jpg > </body> </html> Tag #:5 Paragraph tag <p></p> One of the most common tags you will use is the paragraph tag <p> which is apporpriat fpr regular body text. The paragraph tag absolutely does not have to be paired you can simply use the opening tag<p> where you want to start a paragraph .
To use the paragraph tag enter them around the
text you want format as a paragraph. <p>A whole paragraph goes right here.</p> Tag #:6 Break tag <br> The <br> tag is useful for writing addresses or poems. Note: Use the <br> tag to enter line breaks, not to separate paragraphs. In HTML, the <br> tag has no end tag.the <br> tag is used when you want to break or start the new line . Tag #:7 Heading tag The <h1> to <h6> tags are used to define HTML headings. <h1> defines the most important heading. <h6> defines the least important heading. The <h1> is the largest heading and <h6> is the smallest heading. <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> Tag #:8 The horizontal line tag <hr> The HTML <hr> tag is used for creating a horizontal line. This is also called Horizontal Rule in HTML. The <hr> tag have attributs such as size the hight of 30 pixels. ____________________________________________ 3
Tag #:9 font tag <font ></font>
<font> tag Specify the font size, font face and color of text. Te font tag have many property such as size,color,etc. =red> this is font text </font> Tag #:10 Image tag <img..> The <img> tag defines an image in an HTML page. The <img> tag has two required attributes: src and alt, height, width. Note: Images are not technically inserted into an HTML page, images are linked to HTML pages. The <img> tag creates a holding space for the referenced image.<img src="smiley.jpg" alt="unavailable" height="42" width="42"> Tag #:11 Anchor tag <a></a> Anchor are the glue that hold the web together. Fortunately they are simple to construct they require only a single tag and carefull use of the URL.in this section we will look at how to link to documents in the same folder in difference folders and on different servers. This is also called hyperlink ..one attributs of hyper link is hrefmean that hyper link refrence .we include the the folder name and file name. also we includes URL name and link it. Like this <a href= https://www.google.com.pk/?gws_rd=cr,ssl&ei=0g BIVKzyLdfuaOiqgKAG> click to visit google </a>
Tag #:12 center tag <center>
the center tag is used to set the text in a center on the page. <center>Wellcom to HTML</center> The welcome to html text is show center from the page. Tag #:13 The <em> tag The <em> tag is a phrase tag. It renders as emphasized text. Look like italic.. <p><em> this is html tag</p></em>. Tag #:14 underline tag <u></u> The <u> tag is used to underline any words or paragraph <p>This is a <u>parragraph</u>.</p> .. Look like this .. This is a paragraph.
Tag#:15 The bold tag <b></b>
The HTML <b> element defines bold text, without any extra importance.The bold tag is used to bold any text or paragraph. <p><b> Wellcome to the HTML</p></b>. Tag#:16 Strong tag <strong> The HTML Strong Element <strong> gives text strong importance, and is typically displayed in bold. <p><strong> Wellcome to the HTML</p></strong> Tag#:17 super script ..<sup>
The <sup> tag defines superscript text.
Superscript text appears half a character above the normal line, and is sometimes rendered in a 5
smaller font. Superscript text can be used for
footnotes, like W[1]. 10<sup>2===102 Tag#:18 subscript tag ..<sub></sub>
The <sub> tag defines subscript text. Subscript
text appears half a character below the normal line, and is sometimes rendered in a smaller font. Subscript text can be used for chemical formulas, like H2O. H<sub>2</sub>