Beruflich Dokumente
Kultur Dokumente
Topics to be Discuss…
1. HTML Introduction 8. Marquee Tag
2. HTML Editors 9. HTML Iframes
3. HTML Basic tags 10. HTML Lists
4. HTML Attributes 11. HTML Entities
5. Body tag
6. Font tag
7. Quotations and
Citations
1. HTML Introduction
a) What is HTML???
b) Web Browsers
c) HTML Versions
d) HTML Tag
e) HTML Page Structure
a) What is HTML ???
Version Year
HTML 1991
HTML+ 1993
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 2000
HTML5 2012
d)HTML Tag
Page title
Body Contents
2. HTML Editors
</body>
</html>
Result :
b)Paragraphs Tag
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
</html>
Result :
c) Link Tag
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Result :
d)Image Tag
Tag Description
<img> Defines an image
<map> Defines an image-map
<area> Defines a clickable area inside an image-map
e)<hr> Horizontal rules
</body>
</html>
Result :
g) <pre> Preformatting tag
The HTML <pre> element defines preformatted text.
The text inside a <pre> element is displayed in a fixed-
width font (usually Courier), and it preserves both spaces
and line breaks:
Example:<pre>
My Bonnie lies over the ocean.
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Result :
4. HTML Attributes
When you move the mouse over the element, the title
will be displayed as a tooltip.
Syntax: <p title="Summer Classes">
SparKX Club is organising an
intensiveweb-designing course in N.I.T. Rourkela. All
interested participants are encouraged.</p>
result
alt Attribute
<HTML>
<HEAD>
<TITLE>PS<TITLE>
</HEAD>
<BODY BGCOLOR=CYAN TEXT=BLUE><P><FONT SIZE=10
COLOR=YELLOW></FONT></P>
<P></P><BODY>
</HTML>
OUTPUT :
6. Font Tag
<!DOCTYPE html>
<html>
<body>
<font>How are you </font>
</body>
</html>
Result :
Font Size
Size in px
Font Color
In dreamviewer :
Text format
Bold text <b></b>
Important text <strong>
Italic text <i>
Emphasized text <em>
Marked text <mark>
Small text <small>
Deleted text <del>
Inserted text <ins>
Subscripts <sub>
Superscripts <sup>
7.Quotations and Citations
Syntax:
<blockquote cite="http://www.worldwildlife.o
rg/who/index.html">
For 50 years, WWF has been protecting the
future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported
by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>
result
he HTML <abbr> element defines an abbreviation or an acronym.
Marking abbreviations can give useful information to browsers, translation
systems and search-engines.
Syntax:
<p>The <abbr title="World Health Organization">WHO</abbr> was founded
in 1948.</p>
Result
HTML <address> for Contact Information
The HTML <address> element defines contact information (author/owner)
of a document or article.
The element is usually displayed in italic. Most browsers will add a line
break before and after the element.
Syntax:
<address>
Written by Jon Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>
The HTML <bdo> element defines bi-directional override.
If your browser supports bdo, this text will be written from right to left.
Syntax:
<bdo dir="rtl">This text will be written from right to left</bdo>
The HTML <cite> element defines the title of a work.
Browsers usually displays <cite> elements in italic.
Syntax:<p><cite>The Scream</cite> by Edward Munch. Painted in
1893.</p>
HTML Computer Code Elements
Tag Description
<code></code> Defines programming
code
<kbd></kbd> Defines keyboard input
<samp></samp> Defines computer output
<var></var> Defines a mathematical
variable
8. Marquee Tag
Use to text/images scroll from right to left, left to right, up to down, down to
up.
<!DOCTYPE html>
<html>
<body>
<marquee> This is marquee</marquee>
</body>
</html>
Result :
Marquee Direction
Up
Down
Right
Left
Marquee Speed
Scrollamount Speed
Scrollamount Speed
Marquee Behavior
Alternate
Scroll
slide
Marquee Onmouse
<!DOCTYPE html>
<html>
<head>
<titel><h1>Facebook</h1></titel>
</head>
<body>
<marquee> This is marquee</marquee>
<iframe src="nit.html" >
</iframe>
</body>
</html>
Result :
Iframe – Set Height and Width
Ordered List
Unordered List
Description List
Ordered List
An ordered list starts with the <ol> tag. Each list
item starts with the <li> tag.
<!DOCTYPE html>
<html>
<body>
<ol type="1">
<li>Coffee</li>
<li>Milk</li>
<li>Tea</li>
<li>water</li>
</ol>
</body>
</html>
Result :
A type attribute can be added to an ordered list, to define the type of the
marker:
Type Description
type="1" : The list items will be numbered with numbers
(default)
type="A" : The list items will be numbered with uppercase
letters
type="a" : The list items will be numbered with lowercase
letters
type="I" : The list items will be numbered with uppercase
roman numbers
type="i" : The list items will be numbered with lowercase
roman numbers
Unordered List
An unordered list starts with the <ul> tag. Each list
item starts with the <li> tag.
<!DOCTYPE html>
<html>
<body>
<ul style=«list-style-type:disc»>
<li>Coffee</li>
<li>Milk</li>
<li>Tea</li>
<li>water</li>
</ul>
</body>
</html>
Result :
A style attribute can be added to an unordered list, to define the style of the
marker.
Style Description
disc The list items will be marked with bullets
(default)
circle The list items will be marked with circles
square The list items will be marked with squares
none The list items will not be marked
Description List
Some diacritical marks, like grave ( ̀) and acute ( ́) are called accents.
Diacritical marks can appear both above and below a letter, inside a
letter, and between two letters.
NOTE:Reference: www.w3schools.comhtml/html_symbols.html