15.04.2018 Views

programming-for-dummies

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

480<br />

Creating Style Classes<br />

This is paragraph text gets modified by the paragraph<br />

style.<br />

This is paragraph text also gets modified.<br />

<br />

<br />

In this example, a single style <strong>for</strong>mats text stored in both tags. To create<br />

a style class, define a class name and its <strong>for</strong>matting attributes like this:<br />

<br />

<br />

<br />

To use a style class, include the class name within a tag, such as<br />

Text to be <strong>for</strong>matted<br />

Style classes let you apply different styles to text stored within identical<br />

tags, such as<br />

<br />

<br />

This text appears in the title bar.<br />

<br />

<br />

<br />

<br />

<br />

<br />

This heading is defined by the<br />

firstclass style.<br />

This is paragraph text gets<br />

modified by the firstclass style.<br />

This is paragraph text gets<br />

modified by the secondclass style.<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!