What's new

Closed Latest häçk fb!

Status
Not open for further replies.
DIV


The HTML <div> tag is used for defining a section of your document. With the div tag, you can group large sections of HTML elements together and format them with CSS.
The difference between the div tag and the span tag is that the div tag is used with block-level elements whilst the span tag is used with inline elements

Example

<!DOCTYPE html>
<html>
<head>
<title> HTML div Tag </title>
<link rel ="stylesheet" href = "style2.
</head>
<body>
<div id= "contentinfo" >
<p> Welcome to our website. We provid
</div>
</body>
</html>

Iwasan po ang mag pa pm thread , mapag kakamalan kayong paasa
 
Status
Not open for further replies.

Similar threads

Back
Top