Monthly Archives: October 2015

HTML Table colors

1)The attribute “bgcolor” is applied to <tr><th><td> Example to explain table colors. output:

Posted in Uncategorized | Leave a comment

Table formatting in HTML

1)Cell Spanning——>merging 2)Cell spacing——–>Space between borders 3)Cell Padding——–>space between border and content Cell Spanning: –>As per my understanding cell spanning is nothing but its merging. –>Row Spanning: No of Rows a cell should span. –>column spanning:No of Columns a cell … Continue reading

Posted in Uncategorized | Leave a comment

Creating Tables in HTML

–>To draw a table in HTML use <table> tag –>Attributes in table tag are:<table border=”3″ align=”center” width=”50%”> –><caption> this tag is used for caption for the table. –><tr> table row –><th> table header –><td> table data Example to explain above … Continue reading

Posted in Uncategorized | Leave a comment

Pre-formatted text

–>we know that HTML truncates the spaces.so to consider the spaces and to display the page as per the user with considering the spaces we will use <pre> tag. –>To get the quotation marks use <q> tag. Example to explain … Continue reading

Posted in Uncategorized | Leave a comment

Horizontal lines in HTML

–>To display the horizontal lines in the HTML we will use the <hr> tag. Attributes of the hr tag: 1)<hr size=”5″>——>Line thickness 2)<hr width=”100″> or <hr width=”%60″>——>line width will be in either in pixels or % of browser window. 3)<hr … Continue reading

Posted in Uncategorized | Leave a comment

Special Character Entity in HTML

–>In HTML grater than(>) has a special meaning.in HTML we will consider as tag. –>To display the grater than symbol(>) we will use some special characters they are: 1)Ampersand&) 2)entity number/character code(#) 3)semicolon(;) To display grater than symbol we can … Continue reading

Posted in Uncategorized | Leave a comment

Logical character effect in HTML

In logical character effects you will learn about the following 1)heading styles 2)<code> 3)<kbd> 4)<var> 5)<strong> 6)<em> 7)<dfn> 8)<address> Explanation: 1)heading styles: Heading styles ranges from h1 to h6. h1—>It is the biggest size h6—>It is the smallest size. h3—>It … Continue reading

Posted in Uncategorized | Leave a comment

Physical character effects in HTML

a)For bold font –> <b> b)For italic–> <i> c)For underline—> <u> d)For strike through—> <s> e)For fixed width font—-> <tt> f)For subscript—-> <sub> g)For super script—-> <sup> Example to explain about physical character effect Output:

Posted in Uncategorized | Leave a comment

Body section in HTML

We already discussed that html is divided in to two parts they are head section and body section.we have seen about head section.Now we will discuss about body section. Attributes:– Attributes provides additional information about HTML elements. Attributes of body … Continue reading

Posted in Uncategorized | Leave a comment

HTML Head Setion

Head section: In head section there are 3 tags.they are:1)title tag 2)base tag 3)meta tag title tag:– whatever we wrote in title tag it will be displayed in “title bar of the browser”. base tag:-this is a base URL for … Continue reading

Posted in Uncategorized | Leave a comment