...NT2670 U2A1: Identifying HTML Tags Tag | Usage | <html> </html> | Tells the (Web) that this is an HTML document. Tags are to mark sections of the text and for most, an opening and closing tags are required | <body> </body> | the document's body everything visible on the page content has all the contents of HTML documents such as: links, images, etc. | <b> </b> | makes the enclosed text into bold text | <p> </p> | makes enclosed text a paragraph, with lines skipped at the top and bottom | <i> </i> | the default tag for italics | <br> | stops the current line and goes on to the next | <body bgcolor=> | defines the background color of the page | <h1> </h1> | describes a heading; h1 being the largest | <h6> </h6> | smallest heading | <img src="name"> | Adds an image | <a href="URL"> </a> | href attribute specify the URL(web address) for a link | <a href="URL"> <img src="URL"> <a> | creates an imagelink src attributes specifies the URBL for an image | <p align=> | the alignment of the text within a paragraph or image left is the default alignment | 1. <b> <i> Hello World </b> </i> 2. <body bgcolor=”#000000”> or <body bgcolor=”black”> 3. <p align=center> Hello World</p> 4. <img src=”\Images\MyImage.jpg” alt=”hiking” style=”width:80px;height:60px”> ...
Words: 329 - Pages: 2