Head First HTML and CSS by Elisabeth Robson & Eric Freeman

Head First HTML and CSS by Elisabeth Robson & Eric Freeman

Author:Elisabeth Robson & Eric Freeman [Robson, Elisabeth & Freeman, Eric]
Language: eng
Format: epub, pdf
Published: 2012-08-15T17:16:33+00:00


testing heading colors

Test drive Tony’s orange headings

Once you’ve made the changes to your “journal.

css” file to add the color property to the h1, h2 rule,

reload the web page and check out the results.

Now both <h1> and <h2> headings

are orange. This ties in nicely with

Tony’s orange theme and shirt.

The headings are also set off further with underlines.

Hmmm…we thought this would be a good way to

distinguish the headings, but actually they seem to look

a little too much like clickable links, since people tend to

think anything underlined in a web page is clickable.

So, underlines may have been a bad choice.

Let’s quickly look at some other text

decorations, then we’ll reconsider these

underlines in the web page.

What do all these colors have in common? Try each one in a web page, say as a font color, or use your photo editing application’s color picker to determine what colors they are by entering the hex code into the dialog box directly.

#111111

#444444

#777777

#aaaaaa

#dddddd

#222222

#555555

#888888

#bbbbbb

#eeeeee

#333333

#666666

#999999

#cccccc

352 Chapter

8



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.