tag < div > :
Definition and Usage
The <div> tag defines a division or a section in an HTML document.
The <div> tag is used to group block-elements to format them with CSS.
| Example | |
|
< p style = "color: Maroon" > This is paragraph one
< p > < div style = "color: Green" > This part is a div . It can contain almost every things ! < /div > < p style = "color: blue" > This is another paragraph < /p > |
code |
|
This is paragraph one
This part is a div . It can contain almost every things !
This is another paragraph |
output |