Meta Tag: The
<meta /> tag provides metadata about the HTML document. Metadata will not
be displayed on the page, but will be machine parsable. Metadata is information
about data.
Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
The <meta> tag always goes inside the head element. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.
Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
The <meta> tag always goes inside the head element. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.
<head>
<meta name="description" content="Free Web tutorials" /> <meta name="keywords" content="HTML,CSS,XML,JavaScript" /> <meta name="author" content="Hege Refsnes" /> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> </head> |
<meta http-equiv="refresh"
content="5" />
Object Tag (<object> </object>):
Object tag is used to add other objects in our web page like images, text files, web pages, pdfs etc.
EX: <object type="image/jpeg" data="images/flower.jpg" height="400" width="400"> </object>
Ex: <object type="image/gif" data="images/light.gif" height="340" width="480"> </object>
Ex: <object type="text/plain" data="images/Txt.txt" height="340" width="480"> </object>
Ex: <object type="text/html" data="Bgproperties.html" height="600" width="500"> </object>
Ex: <object type="application/pdf" data="images/You_can_Win.pdf" height="500" width="100%"></object>
<fieldset> </fieldset> and <legend> </legend> tags: Fieldset tag is used to set border for a html element and <legend> </legend> tag is used to provide caption for this border.
Ex:- <fieldset>
Object Tag (<object> </object>):
Object tag is used to add other objects in our web page like images, text files, web pages, pdfs etc.
EX: <object type="image/jpeg" data="images/flower.jpg" height="400" width="400"> </object>
Ex: <object type="image/gif" data="images/light.gif" height="340" width="480"> </object>
Ex: <object type="text/plain" data="images/Txt.txt" height="340" width="480"> </object>
Ex: <object type="text/html" data="Bgproperties.html" height="600" width="500"> </object>
Ex: <object type="application/pdf" data="images/You_can_Win.pdf" height="500" width="100%"></object>
<fieldset> </fieldset> and <legend> </legend> tags: Fieldset tag is used to set border for a html element and <legend> </legend> tag is used to provide caption for this border.
Ex:- <fieldset>
<legend > My
Heading</legend>
<h1> This is heading 1 </h1>
</fieldset>
We
can apply style attribute to set width and height of border.
Ex:
Ex:
<html><body>
<fieldset
style="width:20%">
<legend
style="color:red"> Input From</legend>
<form>
Name:
<input type="text" name="name" /> <br />
Password:
<input type="password" name="pwd" /> <br />
<input
type="submit" /> <input type="reset" />
</form>
</fieldset>
</body></html>
No comments:
Post a Comment