Page 54 - CA 165 ver 1.0 Class 10
P. 54

VIEWING THE WEB PAGE IN WEB BROWSER

                  Perform the given steps to view the web page in web browser:
                  Step 1: Navigate to the location where you have saved the HTML file.

                  Step 2:  Double-click on the file. You will see that the HTML file will open in the default web browser of
                          your computer.







                                  WELCOME TO ORANGE EDUCATION
















                    ATTRIBUTES

                  Attributes refer to additional features that can be added with the tags, to apply or to change and enhance
                  the appearance of different parts of a web page. Attributes are written immediately after an opening tag
                  is separated by tab, space or return characters. The ending tag does not contain any attributes or value.

                  An attribute is followed by an equal to sign ( ‘=’ ) and a value associated with that attribute. The value
                  of attributes is generally written within quotes (though the quotes may not be required if the value is a
                  single word or a single digit). Attributes are used:
                    to define data source or destination.

                    to specify URLs (Uniform Resource Locators).
                    to specify the characteristic of the text to which a tag is applied.

                  Syntax to use an attribute is as follows:

                  <Tag Name Attribute1 = "Value" Attribute2 = "Value">
                  Thus, HTML tag consists of a tag name, followed by an optional list of attributes, all inside the opening
                  and closing angular brackets(’<’ and ‘>’) of an opening tag. The maximum width of an attribute value can
                  be up to 1024 characters.

                  Attributes used in the <BODY> Tag

                  In <BODY> tag, the following eight attributes can be used:

                    BGCOLOR                                  TEXT
                    BACKGROUND                               LINK

                    ALINK                                    VLINK
                    LEFTMARGIN                               TOPMARGIN


                    52   Touchpad Computer Applications-X
   49   50   51   52   53   54   55   56   57   58   59