- HTML is a markup language
- A markup language is a set of markup tags
HTML tags are not case
sensitive: <P> means the same as <p>. Many web sites use uppercase
HTML tags.
HTML attributes:
- Attributes are always specified in the
start tag
- Attributes come in name/value pairs like: name="value"
Ex:
<a href="http://www.w3schools.com">This is a
link</a>
Subscript and super script
<p>This is<sub> subscript</sub> and
<sup>superscript</sup></p>
Go to the region which has id as tips
<a href="#tips">Visit the Useful Tips
Section</a>
The HTML <meta> Element
Metadata is data (information) about data.
The <meta> tag provides metadata about the HTML document.
Metadata will not be displayed on the page, but will be machine parsable.
Meta elements are typically used to specify page description,
keywords, author of the document, last modified, and other metadata.
The metadata can be used by browsers (how to display content or
reload page), search engines (keywords), or other web services.
<meta> tags always go inside the <head> element.
<meta> Tags - Examples of Use
Define keywords for search engines:
<meta
name="keywords" content="HTML, CSS, XML, XHTML,
JavaScript">
Define a description of your web page:
<meta
name="description" content="Free Web tutorials on HTML and
CSS">
Define the author of a page:
<meta
name="author" content="Hege Refsnes">
Refresh document every 30 seconds:
<meta
http-equiv="refresh" content="30">
No comments:
Post a Comment