2. HTML
Hyper Text Markup Language is a “markup language”. It is a
set of instructions to your web browser to cause the text to
be displayed in a certain way.
HTML is not a programming language in that it doesn’t allow
decisions (if statements) or loops.
HTML is a subset of SGML, Standard Generalized Markup Language,
which is a generic way of representing any document. “A philosophical
rule was that HTML should convey the structure of a hypertext
document, but not the details of its presentation.”
Since then, HTML has evolved into a presentation language.
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
3. HTML DOCUMENTS
•HTML documents are text documents
•We use simple ASCII text files
•Html file extensions: .html or .htm
•You can create html documents using:
•Notepad in Windows and TextEdit (MAC OS X)
•You can also use HTML Editors
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
4. HTML EDITORS
•HTML editors are called “WYSIWYG”
•What You See Is What You Get!
•Examples of HTML Editors:
•Dreamweaver
•Front Page
•Go Live
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
5. HTML TAGS
Tags are the instructions or commands give to the browser.
Example : if you write mohit.. It will display mohit. But if you
write<b>mohit</b>..It will display mohit in bold...
Most (but not all!) HTML tags have a start tag and an end tag
There are two types of tags:
i) Paired Tags. ii)Unpaired Tags.
<html></html> <hr>,<img>,<br>
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
6. HTML Documents Structure
The HTML document is divided into two major parts:
HEAD: Contains information about the documents:
Title of the page( which appears at the top of the browser window)
Meta tags: used to describe the content (used by Search engines)
JavaScript and Style sheets generally require statements in the
document head.
BODY: Contains the actual content of the document
This is the part that will be displayed in the browser window
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
7. Sample HTML Documents
<HTML>
<HEAD>
<TITLE> My web page </TITLE>
</HEAD>
<BODY>
Content of the document
</BODY>
</HTML>
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
8. In HTML Basic Topics
Formatting Text: <b><i><u><strong><p><h1>to<h6><font><img>
<sup><sub> <pre><hr> with all attributes
Hyperlinks & Marquee Tags with all attributes
Direction,behavior,onmouseover and onmouseout
Listing
Orderlist,Unorderlist,Defination List with all attributes
Tables: cellpadding, cellspacing,rowspan,colspan,nested tables
Forms: textbox,password,radio,checkbox,buttons,
placeholder, value,name,dropdown,textarea
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com
10. Like Us on Facebook
https://www.facebook.com/webcomincorp
Follow Us on Twitter
https://twitter.com/webcomincorp
SCO 114-115, 3rd Floor, Sector-34/A Chandigarh +919216242412 http://www.webcomincorp.com