26.01.2019 Views

XML Simplified

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

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

Module 5<br />

Style Sheets<br />

The output is shown in figure 5.17.<br />

Concepts<br />

Figure 5.17: Output of Using font-size Property<br />

5.3.6 Font Style and Weight Properties<br />

CSS provides two properties namely font-style and font-weight to add emphasis or meaning to<br />

parts of data.<br />

Figure 5.18 shows the syntax for font style and weight properties.<br />

Figure 5.18: Font Style and Weight Properties<br />

where,<br />

font-style<br />

Property to specify the style of text in an element.<br />

normal | oblique | italic<br />

One of the values that can be assigned to font-style property.<br />

font-weight<br />

Property to specify the weight style of the text in an element.<br />

light | normal | bold<br />

One of the values that can be assigned to font-weight property.<br />

<strong>XML</strong> <strong>Simplified</strong><br />

Version 1.0 © Aptech Limited

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

Saved successfully!

Ooh no, something went wrong!