HTML AND CSS: The Ultimate step by step guide to learn these Programming Languages by Saify Alifiya & Saify Alifiya

HTML AND CSS: The Ultimate step by step guide to learn these Programming Languages by Saify Alifiya & Saify Alifiya

Author:Saify, Alifiya & Saify, Alifiya [Saify, Alifiya]
Language: eng
Format: azw3, epub
Published: 2020-05-20T16:00:00+00:00


How one browser shows the page now that some colors have been added.

* Colors can be specified in CSS in several ways. This example shows two of them: by name (“purple”) and by hexadecimal code (“#d8da3d”). There are about 140 color names and the hexadecimal codes allow for over 16 million colors. Adding a touch of style explains more about these codes.

◆◆◆

STEP 3: ADDING FONTS

Another thing that is easy to do is to make some distinction in the fonts for the various elements of the page. So let's set the text in the ‘Georgia ’ font, except for the h1 heading, which we'll give ‘Helvetica ’.

On the Web, you can never be sure what fonts your readers have on their computers, so we add some alternatives as well: if Georgia is not available, Times New Roman or Times are also fine, and if all else fails, the browser may use any other font with serifs. If Helvetica is absent, Geneva , Arial and SunSans-Regular are quite similar in shape, and if none of these work, the browser can choose any other font that is serif-less.

In the text editor add the following lines:



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.