Login | Register | FAQ
Anonymous

How to use <div> tag

+ Post a reply

2 posts Page 1 of 1


How to use <div> tag

by Darsan » Sun Nov 19, 2017 12:21 pm

Is the div tags is useful please help me!
User avatar

Darsan

  • Posts: 1
  • Joined: Sun Nov 19, 2017 12:17 pm

Re: How to use <div> tag

by redmetalengineers » Mon Dec 18, 2017 7:11 am

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. For example:

<!DOCTYPE html>
<html>

<head>
<title>HTML div Tag</title>
<link rel = "stylesheet" href = "style2.css">
</head>

<body>
<div id = "contentinfo">
<p>Welcome to our website. We provide premium engineering laboratory instruments and equipment.</p>
</div>
</body>

http://www.engineeringlabequipments.in/
User avatar

redmetalengineers

  • Posts: 1
  • Joined: Mon Nov 27, 2017 11:50 am


+ Post a reply

Page 1 of 1