HTML model

   
           
  
   
        Content of the Web Page
 

               


Tag:  Coded HTML Command
, , Etc.
Attribute:   Characteristics of a tag or
         Properties of a tag
E.g.  
   Tag: 
   Attribute:   Dir
   Value:  Ltr  ----à Default
   Value:  Rtl
Tags
1.                        Container Tags
Are Tags which contains a Starting or Beginning Tag and same ending or Closing Tag
   E.g.  
           
           
2.                        Empty Tag
Are Tags which contains an opening Tag only.
   E.g.  
Q.1.  You are given two tags and
.
   (a). Identify the purpose of each tag.
(b). Differentiate container tag and empty tag.
   (b). What is a tag? Specify its
Properties.
Ans.
a.1.   tag is used to make the content bold
         E.g.  
                  Hai How R U
a.2.  
tag is used to make line ` breaks.
         E.g.  
      Hai where r u from
      Hai How R U
Q.2.  When you visited the web site ‘yahoo.com’, it is found that when clicking on a particular text the browser opens new web page.
a.   According to your knowledge what is this feature.
b.   Identify the tag used for this purpose.
c.   Write HTML code to link to a file name “ABC.HTML”.
Ans. A.   Linking:
      Linking allows connecting a text or an image to another web page or section of a web page
Ans.  B.  Anchor Tag.
      Anchor tags are used to create
links in a web page.
Syntax:
   Href =Filename.HTML
            Title = “A String   >
<! This is a command >

<img src=”File_Name” align=center height=150 width=45>

0 comments:

Post a Comment

 
 
 

sponsors

indiae.in we are in
Indiae.in