Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




Div tag

Another important tag is div tag, which means division tag. Div works as container or block of words. With style sheets div tag works efficiently.

Syntax:

<div style="background-color:Orange;">Hardwork is the key of success.</div>

It will have output:


Share this article   |    Print    |    Article read by 4198 times
Author:
Rohit kakria
I am software developer, moderator of xpode.com
Related Articles: No related article
Related Interview Questions: No related interview question