answersLogoWhite

0

Why use div in HTML?

User Avatar

Anonymous

15y ago
Updated: 8/18/2019

Its typically used for a tabless design. Replaces <table> tag.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Div class tags for HTML?

&lt;div&gt;hjghj&lt;div&gt; is a layer


What does div mean?

A div tag in HTML represents a division, usually with its own style, class, or alignment. For example, the HTML &lt;div align=center&gt;Text&lt;/center&gt; would align the text in the center of the page


How do you post in blogger using HTML?

&lt;div id="header"&gt; &lt;div id="footer"&gt; &lt;div id="content"&gt; &lt;div id="sidebar"&gt; &lt;div class="post"&gt;


Is the 'div' tag part of HTML or XHTML?

The "div" tag is part of both languages.


In HTML how do you put the text boxes next to each other?

&lt;html&gt; &lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt; &lt;body&gt; &lt;div position :absolute; top : 200px; left : 50px; border : solid;&gt; This is first Box &lt;/div&gt; &lt;div position :absolute; top : 200px; left : 150px; border : solid;&gt; This is Second Box &lt;/div&gt; &lt;/body&gt; &lt;/html&gt;


What does the prefix div mean?

&lt;DIV&gt; is not a prefix, it is a tag. A DIV element is a container for other HTML elements and is used for positioning and structuring content in the document


Which tag is used to divide the webpages into multiple parts?

to divide the html, use &lt;div&gt; to divide the page, i think you use &lt;hr&gt;... right?


How do you center a div in Google Chrome?

If you center a &lt;div&gt; in Chrome, it becomes center. It can be changed in the HTML file of the source.


What is web design using HTML in div style?

Div tags are elements of web pages. You cannot make a web page using solely a div tag. You would need to do something like: &lt;html&gt; &lt;head&gt; &lt;title&gt;Your HTML Document&lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;div&gt;web page information goes here&lt;/div&gt; &lt;/body&gt; &lt;/html&gt; But there is no real reason to use the div tag except if you want to assign a style to it, in which case you would need to add a style sheet in between the &lt;head&gt; and &lt;/head&gt; tag or add a style property to the div tag. You can learn more about web page design by visiting the links provided below.


What is web container?

depends what code you're talking about. if it's html, a container would be the code that contains content ("bla bla") &lt;html&gt; &lt;head&gt; &lt;title&gt; bla bla &lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;/body&gt; &lt;/html&gt; in css, it would be whatever div tag you create such as: &lt;div class="container"&gt; bla bla &lt;/div&gt;


How can you construct website using div tag?

The &lt;div&gt; tag defines a division or a section in an HTML document. The &lt;div&gt; tag is used to group block-elements to format them with CSS.


What does the HTML tag do?

A Div tag can be used for formatting a block of text, images, other divs or any other element of a website, even if these elements are included within some other tag. Anything inside a particular div will follow its CSS properties unless you don't specifically change it. Its like a box in which you can add any HTML element, a webpage usually have many divs to create a the layout. The placement and size of the div can be controlled by CSS. The content of the tag &lt;div&gt; always begins with a new line as it is a block based tag. There is also line folding after it.