For instance, by wrapping a set of paragraph elements into a <div> element, the developer can take advantage of CSS styles and apply a font to all paragraphs at once by applying a font style to the <div> tag instead of coding the same style for each paragraph element.
Example of Div Element
<div id="myDiv" name="myDiv" title="Example Div Element" style="color: #0900C4;font:Helvetica 12pt; border:1px solid black;">
<h5>Subtitle</h5>
<p>This paragraph would be your content paragraph...</p>
<p>Here's another content article right here.</p>
</div>
0 comments:
Post a Comment