Presentation is loading. Please wait.

Presentation is loading. Please wait.

Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these.

Similar presentations


Presentation on theme: "Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these."— Presentation transcript:

1 Colors & Fonts Building a Website Lesson 7

2 Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these attributes: face, size, color. Look at my color!

3 Style Attribute The style attribute can be used for change the background color or alignment of text. To change the background color, add the style attribute to the body element. The alignment of text property can be used for each individual heading (,, etc.) or paragraph element.

4 Background Color To change the background color, add the style attribute with background-color property to the body element. This is Halloween This is Halloween

5 Text Alignment Text is left-aligned by default. You can add the text-align property to the style attribute to center the text or right-align the text. This is centered text. This is right- aligned text. This is centered text. This is right-aligned text.

6 Exit Ticket In HTML, write the code for your name with the following properties: Yellow font Yellow font Blue Background Centered Text


Download ppt "Colors & Fonts Building a Website Lesson 7. Font Font The tag specifies the font face, font size, and color of text. The tag can have any or all of these."

Similar presentations


Ads by Google