




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















Engr. Muhammad Umer Haroon
JavaScript makes HTML
pages more dynamic and
interactive.
Examples of JavaSript
The tag is used to provide an alternate
content for users that have disabled scripts in their
browser or have a browser that doesn't support client-
side scripts:
The <title> element defines the title of the
document, and is required in all HTML/XHTML
documents.
The <title> element:
defines a title in the browser tab
provides a title for the page when it is added to
favorites
displays a title for the page in search engine
results
The element is used to specify which
character set is used, page description, keywords,
author, and other metadata.
Metadata is used by browsers (how to display
content), by search engines (keywords), and other
web services.
Define the character set used: -
Define a description of your web page: -
Define keywords for search engines: -
Define the author of a page: -
Refresh document every 30 seconds: -
Example of tags: