Thursday, April 26, 2012

BASICS OF WEB DESIGN: HTML Comments and Indentation

       In this tutorial, we'll learn about comments. This tag is used to add comments that aids in making HTML code understandable not just to others, but also to the writer. A comment in HTML is enclosed between <!-- and -->, anything whatsoever between those isn't rendered by the browser. Just like in programming, an uncommented HTML document (especially voluminous ones) is very hard to edit even to the writer.

Tuesday, April 24, 2012

BASICS OF WEB DESIGN: Adding Background Color to a Web Page

       To add the background color to the web page, we use the bgcolor attribute of the Body element to do so. As we already know from the previous tutorial, we can add color in three ways, either using of the predefined color names, the RGB hexadecimal color code or the decimal RGB color code although the hexadecimal color code is commonly used.

Sunday, April 22, 2012

BASICS OF WEB DESIGN: HTML Color Codes

      Now to add background color to your page, you have to add it as a background attribute to the body element  using either hexadecimal color coding, RGB coding or using predefined color names.

Saturday, April 21, 2012

BASICS OF WEB DESIGN: Adding Contents to a Web Page

     Adding content to a page is achieved using the body tag. The body tag contains the actual content of a web page. To show what i mean, open the file "first.html" we created in the previous tutorial with a notepad by right clicking it and selecting the "open with" option from the flyout menu, then in the ensuing dialog box, select notepad icon and click open.