Computer Science, asked by abhinavkumarmishra20, 7 hours ago

what is div tag in HTML​

Answers

Answered by neerajs4269
1

Answer:

The <div> tag defines a division or a section in an HTML document. The <div> tag is used as a container for HTML elements - which is then styled with CSS or manipulated with JavaScript. ... Note: By default, browsers always place a line break before and after the <div> element.

Answered by Jha28utkarsh
0

Answer:

It is called division tag. <div> tag is used to create a division of content in the web page. E.g. header, footer, images etc. can be differentiated into various parts.

Extra Info:

Usually the id attribute is included with the <div> tag to get a unique name of each content.

Similar questions