6

META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

Embed Size (px)

Citation preview

Page 1: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an
Page 2: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

META tagMETA tag is the element in the HTML that interacts

with the search engines.

It’s contain 2 attributes that should always be used:NAME: is an identification of the type of META tag

( eg: keywords, description)CONTENT: attribute provides information that

search engine will be cataloging about your site.

META element are not visible to user of the site and it must be placed inside the HEADER section of HTML document.

Page 3: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

Syntax META tagSyntax:

< META NAME=“ ” CONTENT=“ ”>

EXAMPLE:< META NAME=“keywords” CONTENT= “web page,

design, HTML, Tutorial, Personal, Help, Index, Form, Contact, feed back, List, Links, Frame”>

Where: The content of a META tag with NAME= “ Keywords”

provides search engines with a list of words that describe key aspects of your site.

These word are used to match with searches.

Page 4: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

FRAMESET tagUsed to display more than one HTML file at a time.

Can make your website more readable and usable.

Syntax: <FRAMESET ROWS="25%,55%,*"><FRAME SRC="lab1.html"><FRAME SRC="lab2.html"></FRAMESET>

Page 5: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

How to call & display webpage in a frame

Use hyperlink tag and attribute target.< A HREF=“lab1.html” TARGET=“main”> CLICK HERE </A>

Note:This code would load lab1.html in the frame whose

NAME attribute is main (this code normally used in menu when user want to call & display a content).

Page 6: META tag META tag is the element in the HTML that interacts with the search engines. It’s contain 2 attributes that should always be used: NAME: is an

Nested FRAMESET tag<FRAMESET COLS=“110, *”><FRAME NAME=“menu” SRC=“one.html”>

< FRAMESET ROWS=“130,*”>< FRAME NAME =“banner” SRC

=“two.html”>< FRAME NAME =“main” SRC

=“three.html”></ FRAMESET ></ FRAMESET >