Presentation is loading. Please wait.

Presentation is loading. Please wait.

C H 07: M ORE A BOUT HTML Tharith Sriv. O UTLINE You have already learnt almost everything in HTML. In this chapter, you will learn more about:  An HTML.

Similar presentations


Presentation on theme: "C H 07: M ORE A BOUT HTML Tharith Sriv. O UTLINE You have already learnt almost everything in HTML. In this chapter, you will learn more about:  An HTML."— Presentation transcript:

1 C H 07: M ORE A BOUT HTML Tharith Sriv

2 O UTLINE You have already learnt almost everything in HTML. In this chapter, you will learn more about:  An HTML tag “META”  Attributes of You will also be guided to complete your project.

3 T HE TAG  In HTML, specifies information about the document to browsers, applications, search engines.  The tag is placed within the document head.  For example, you can use tag to instruct browser to load new document after 10 s.

4 T HE TAG  You use to instruct browser.  You can specifies keywords for search engines to associate with your documents.

5 A TTRIBUTE OF CONTENT=“..”  Assigns values to HTTP header filed.  When using the REFRESH HTTP header, assign a number along with a URL; the browser then loads the specified URL after the specified number of seconds.

6 A TTRIBUTE OF  See the example below:  With this example, the new page nextpage.html will appear in the same browser after 2 seconds.

7 A TTRIBUTE OF HTTP-EQUIV=“..”  This indicates the HTTP header value you want to define, such as Refresh, Expires, or Content- Language.  See the example below:

8 A TTRIBUTE OF NAME=“..”  Specifies the name of the association you are defining, such as Keywords or Description..  See the example below:

9 T HE TAG  You have already learnt about.  However, some attributes are new for you.  Next slides show ATTRIBUTES of tag.

10 A TTRIBUTE OF ALINK=“#RRGGBB”  Indicates the color of hyperlink text while the text is selected.  Color names can substitute for the RGB hexadecimal values.

11 A TTRIBUTE OF LINK=“ #RRGGBB ”  Indicates the color of hyperlink text within the document, which corresponds to documents not already visited by the browser.  Color names can substitute for the RGB hexadecimal values.

12 A TTRIBUTE OF VLINK=“ #RRGGBB”  Indicates the color of hyperlink text within the document, which corresponds to documents already visited by the browser.  Color names can substitute for the RGB hexadecimal values.

13 A TTRIBUTE OF TEXT=“ #RRGGBB ”  Indicates the color of normal text within the document.  Color names can substitute for the RGB hexadecimal values.

14 A TTRIBUTE OF BACKGROUND=“ URL ”  Specifies the relative or absolute location of an image file that tiles across the document’s background.  See the example below:

15 A TTRIBUTE OF BGCOLOR=“ #RRGGBB ”  Indicates the color of a document’s background.  Color names can substitute for the RGB hexadecimal values.

16 A TTRIBUTE OF BGPROPERTIES=“ FIXED ”  Specifies the behavior of the background image  BGPROPERTIES= FIXED indicates that the background image remains in place as you scroll the document, creating a watermark effect.

17 A TTRIBUTE OF CLASS=“.. ”  Indicates which style class applies to the element.  An example of this can be seen below:

18 A TTRIBUTE OF ID=“ n ”  Assigns a unique ID selector to the tag.  See below:

19 A TTRIBUTE OF LEFTMARGIN=“ n ”  Specifies the width (in pixels) of a margin of white space along the left edge of the entire document.

20 A TTRIBUTE OF TOPMARGIN=“ n ”  Specifies the size (in pixels) of a margin of white space along the top edge of the entire document.

21 A TTRIBUTE OF SCROLL=“ YES, NO ”  Indicates whether scrolling is possible within the document body.  See the example below:

22 A TTRIBUTE OF STYLE=“ … ”  Specifies Style Sheet commands that apply to the document body.  See example.

23 A TTRIBUTE OF TITLE=“ … ”  Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document.  Browsers may use this to show tool tips.

24 A TTRIBUTE OF Other Attributes  This tag also accepts the lang, dir, onload, onunload, onClick, onDblClick, onMouseDown, onMouseUp, onMouseOver, onMouseMove, onMouseOut, onKeyPress, onKeyDown, and onKeyUp attributes.


Download ppt "C H 07: M ORE A BOUT HTML Tharith Sriv. O UTLINE You have already learnt almost everything in HTML. In this chapter, you will learn more about:  An HTML."

Similar presentations


Ads by Google