| |||
| Some more tags and the first HTML doc of yours -
06-04-2007
Some very basic tags with their use : <b> and </b> : Makes the text bold. <i> and </i> : Makes the text Italicized. <u> and </u> : Makes the text underlined. <p> and </p> : Defines a block of text as a paragraph. <div> and </div> : Defines a particular division / section of a document. (Most of its use is for making cool looking layouts, which will be learnt afterwards) <br> (if you are writing in HTML4.0) <br /> (if you are writing in XHTML1.0) : These define a line break. (also known as a Soft Carriage Return) <big> and </big> : makes the text's font size bigger than the other surrounding text. <small> and </small> : makes the text's font size smallr than the other surrounding text. My periodic table contains only 1 element : the element of Surprise. | |||
| |
| |||
| Re: Halo.. -
06-04-2007
Your first HTML Document : HTML Code: <html> <head> <title>My First HTML Doc.</title> </head> <body> <b>This text is bold.</b><br /> <i>This is in italics</i><br /> <u>Whoa.. this is underlined</u> <p>This is a new paragraph,<br /> which can be easily identified as it has some space left above and below it </p> <p>You know html does not pay respect to the white-space that appears in the text that is inside a normal tag. </p> <p>This sentence is written in one line,<br />but will appear as broken on two </p> This is the power of a break "br" element. <p> <big>This</big> text is bigger.<br /> <br /> <small>This</small> text is smaller than the others </p> </body> </html> My periodic table contains only 1 element : the element of Surprise. | |||
| |
| |||
| Re: Halo.. -
06-04-2007
Copy-paste the given code, into the Notepad. Then, File Menu > Save As > Browse to the location, where you want to save that file. I recommend you select the Desktop, for easy access. Then, click on the Drop-down menu on the lower right of the box that appears, and select the option "All Files". Then, on the box, just to its left, type : my-first-html-doc.htm After that, click "Save". Close the Notepad. Now, go to your desktop, and open that saved html file using Internet Explorer. And then, you shall see your html document, as rendered by the browser. ok. thanx, Shadab. My periodic table contains only 1 element : the element of Surprise. | |||
| |
| Thread Tools | |