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.

468<br />

The Structure of an HTML Document<br />

Table 1-1 (continued)<br />

Color<br />

Color Code<br />

Yellow<br />

#FFFF00<br />

Pastel green<br />

#00FF00<br />

Pink<br />

#FF00FF<br />

White<br />

#FFFFFF<br />

Light grey<br />

#FFFFCC<br />

Black #000000<br />

Orange<br />

#FF8040<br />

Brown #804000<br />

Burgundy #800000<br />

Forest green #808000<br />

Grass green #408080<br />

The following HTML code displays text in red (#FF0000):<br />

<br />

<br />

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

<br />

<br />

This text appears in red on the web page.<br />

<br />

<br />

Changing the font size<br />

You can also make text appear larger or smaller by defining a size from 1<br />

(smallest) to 7 (largest). The following HTML code makes the text appear<br />

large:<br />

<br />

<br />

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

<br />

<br />

This text appears large on the<br />

web page.<br />

<br />

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

Saved successfully!

Ooh no, something went wrong!