A “DIV” is an HTML element that divides sections of your WordPress site.
Example: A user can customize their site by adding DIV tags around their content sections in the text editor. Then they can add custom CSS to their DIV’s by going to the Theme Editor in
Appearance–>Editor–>style.css and adding a new line in the file.
About the Word
The DIV tag in HTML is used widely on most websites today. By default, a DIV is a block level element, which means it will take up all of the horizontal space in its current container. In WordPress DIV’s are used to create new sections of content within your site, that may be linked to current classes or new ones.
New sections can help you separate portions of your site to add embedded maps, special offers, promotions, contact information, images and other content.
For More Information
- MDN HTML Element: <div>
- How to Use DIV Tags in WordPress
- DIV Shortcode Plugin
- How to Use a DIV With WordPress