Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
HEADER [cont'd]
MOUSE EVENTS [cont'd]
DIV in TEXT BLOCK of HTML 4
2199 Views
Usage 
The HTML <div> tag is used for define a part of the document.The difference between the div tag and the span tag is that the div tag is used with section wise whilst the span tag is used with single line.
Example
<html>
<body>

<p>Welcome</p>

<div style="color:blue">
  <p>HTML</p>
</div>

</body>
</html>
Output 

Welcome

HTML

Next Topics
Next lessons of current book.
TEXT of HTML 4
TEXT of HTML 4
TEXT of HTML 4
TEXT of HTML 4
Previous Topics
Previous lessons of current book.
TEXT BLOCK of HTML 4
TEXT BLOCK of HTML 4
HEADER of HTML 4
HEADER of HTML 4
HEADER of HTML 4
Best Lessons of "HTML 4"
Top lessons which are viewed more times.
TEXT FONT STYLE of HTML 4
KEYBOARD EVENTS of HTML 4
FORM EVENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
FORM EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
COMPONENTS of HTML 4
Sub Lessons
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details