answersLogoWhite

0


Best Answer

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:

<html>

<head>

<title>Your HTML Document</title>

</head>

<body>

<div>web page information goes here</div>

</body>

</html>

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 <head> and </head> tag or add a style property to the div tag.

You can learn more about web page design by visiting the links provided below.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

CSS is used to style <div> tags (and other tags, but for now we're talking about <div>'s) So for example, here's my <div>

<div class="myAwesomeDiv">

</div>

I can style this <div> in CSS:

<style type=text/css">

.myAwesomeDiv {

background-color:black;

text-align:center;

color:green;

}

</style>

Apply whatever styles you want. I'm partial to the matrix look as in the case of this example :D

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

Web design can be attained by HTML easily. DIV is a tag that can be used to wrap the contents.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is web design using HTML in div style?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 get text to stay in the same place using HTML?

Your question isn't the clearest, so I'll guess you want the text to float above the rest of the content. The solution is CSS. This code snippet will embed the CSS style rules in the HTML: &lt;div style="display:block;position:fixed"&gt;Your text goes here&lt;/div&gt;


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;


Why use div in HTML?

Its typically used for a tabless design. Replaces &lt;table&gt; tag.


What is Class in HTML?

Class refers to your style sheet (Cascading Style Sheets), or the style part of your HTML document. For example, if your document was this... &lt;style&gt; .text { font-family: Arial } &lt;/style&gt; then in your body tag... &lt;div CLASS="text"&gt;Hello&lt;/div&gt; Hello will be in Arial text font type. It refers to your style, whether it be a font type, colour, background, etc.


How do you make div by using css?

You can make CSS inside a div but not div in CSS. CSS inside div could be done by : &lt;do=iv style=""&gt;.


Div class tags for HTML?

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


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 is the html code to make letter blocks?

I believe you mean divs. These can be made using the following tag: &lt;div&gt; Divs can be styled using CSS. You can specify a class or id to your div in the following way: &lt;div class="classname"&gt; and &lt;div id="idname"&gt;


How do you make border line in html?

You can't make border lines with HTML - you use CSS. &lt;div id="mydiv"&gt;Content&lt;/div&gt; &lt;style type="text/css"&gt; #mydiv {border: solid black 1px;} #mydiv {border: dashed red 1%;} #mydiv {border: none;} &lt;/style&gt;


How do you float a div?

&lt;div style="float:left;"&gt;content&lt;/div&gt; OR &lt;div style="float:right;"&gt;content&lt;/div&gt; I've attached a link that explains how this works in more detail.


What does a div tag do when using Dreamweaver CS3 xhtml and CSS?

The division tag is a "div" and is used to divide a page into sections. A div tag can be used to style a section, and style one or more sections differently than other sections.