Computer Science, asked by angaddembla00, 3 months ago

Name two uses of a DIV tag??

Answers

Answered by Anonymous
2

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. The <div> tag is easily styled by using the class or id attribute. Any sort of content can be put inside the <div> tag!

Answered by Anonymous
4

Answer:

\huge \fbox \red{✯AɴSᴡᴇR✯}

div is an HTML element that groups other elements of the page together. class is an attribute. All HTML elements can carry a class attribute. If your elements have a class attribute then you will be able to write a CSS rule to select that class. nav and container are names of classes.

The div tag is used in HTML to make divisions of content in the web page like (text, images, header, footer, navigation bar, etc).

Similar questions