Presentation is loading. Please wait.

Presentation is loading. Please wait.

Formatting Tags.  What is an Attribute? ◦ Describes in detail what the tag is meant to display ◦ Example: BGCOLOR, ALIGN, HREF.

Similar presentations


Presentation on theme: "Formatting Tags.  What is an Attribute? ◦ Describes in detail what the tag is meant to display ◦ Example: BGCOLOR, ALIGN, HREF."— Presentation transcript:

1 Formatting Tags

2  What is an Attribute? ◦ Describes in detail what the tag is meant to display ◦ Example: BGCOLOR, ALIGN, HREF

3  What is a value? ◦ Tells the attribute what it should change to on the web page ◦ Example: (=) ◦ - changes the background color to green Value Changes to green

4  The number 00FF00 is a Hexadecimal  Does anyone have any idea what this means?  It’s a number system of 16 instead of 10  From 0-9 and A-F

5  Can interchange any of the numbers and letters  6 numbers long ◦ Will make a color  Any guess on how many numbers it can make? ◦ 16 million different numbers

6  Background color tag ◦ Also known as the background color attribute ◦ 4 Parts to this tag 1.Body tag which opens it 2.BGCOLOR – The attribute 3.= sign – The Value 4.The number of the color

7  Start with the body tag ◦ <BODY  Add BGCOLOR to your open body tag ◦ <BODY BGCOLOR  Insert the = sign ◦ <BODY BGCOLOR=  Insert the number of the color with a # sign ◦

8  When inserting the number must have a # sign before you insert the number  Don’t need to close it ◦ Can be inserted anywhere in the body ◦ Cannot be outside the body tabs ◦ Can be the body tag

9

10  Font color tag ◦ Also known as the font color attribute ◦ 4 Parts to this tag 1.Font tag which opens it 2.COLOR – The attribute 3.= sign – The Value 4.The number of the color  Almost identical to background color

11  Start with the Font tag ◦ <FONT  Add COLOR to your open Font tag ◦ <FONT COLOR  Insert the = sign ◦ <FONT COLOR=  Insert the number of the color with a # sign ◦

12  When inserting the number must have a # sign before you insert the number  Must close this tag ◦ Before the fonts you which to change color ◦ Close it after 

13 My top three favorite sports, In no particular order (sport1) (sport2) (sport3)

14  Align tag ◦ Also known as the paragraph align attribute ◦ 4 Parts to this tag 1.P tag which opens it 2.Align – The attribute 3.= sign – The Value 4.The location of the alignment

15  Start with the Align tag ◦ <P  Add Align to your open Paragraph tag ◦ <P ALIGN  Insert the = sign ◦ <P ALIGN =  Insert the location of alignment ◦

16  Aligns anything connected to the paragraph  Close it with  My top three favorite Movies  (movie1)  (movie2)  (movie3) 

17  Creates a horizontal line   Usually used after titles My Favorites (Your Name) Things that I Like


Download ppt "Formatting Tags.  What is an Attribute? ◦ Describes in detail what the tag is meant to display ◦ Example: BGCOLOR, ALIGN, HREF."

Similar presentations


Ads by Google