hmtl lecture

18
HTML MELJUN CORTES MELJUN CORTES

Upload: meljun-cortes

Post on 26-May-2015

115 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Hmtl lecture

HTML

MELJUN CORTESMELJUN CORTES

Page 2: Hmtl lecture

GUIDELINES

Not case sensitiveExtension name “.html”Can be written in ANY text editor

Page 3: Hmtl lecture

PARAGRAPH TAG

<HTML><BODY>

<P>MY FIRST PARAGRAPH.</P>

</BODY></HTML>

Page 4: Hmtl lecture

BODY TAG ATTRIBUTE

background Use styles instead. Specifies a background image for a document

bgcolor Use styles instead. Specifies the background color of a document

Page 5: Hmtl lecture

PREFORMATTED TAG

<html><body>

<pre>My first paragraph.</pre>

</body></html>

Page 6: Hmtl lecture

HEADING TAGS

<h1>This is a heading</h1>

<h2>This is a heading</h2>

<h3>This is a heading</h3>

<h4>This is a heading</h4>

<h5>This is a heading</h5>

<h6>This is a heading</h6>

Page 7: Hmtl lecture

SPECIAL CHARACTERS

Page 8: Hmtl lecture

CONTINUE…

Page 9: Hmtl lecture

CONTINUE…

Page 10: Hmtl lecture

FORMATTING TAGS

<html><body>

<p><b>This text is bold</b></p><p><strong>This text is strong</strong></p><p><big>This text is big</big></p><p><i>This text is italic</i></p><p><em>This text is emphasized</em></p><p>This is<sub> subscript</sub> and <sup>superscript</sup></p>

</body></html>

Page 11: Hmtl lecture

CONTINUE…

<b></b>Defines bold text<big></big>Defines big text<u></u> Defines underline text<em></em>Defines emphasized text <i></i>Defines italic text<u></u>Defines underline text<strike></strike>Defines a line in the middle of the text<small></small>Defines small text<strong></strong>Defines strong text<sub></sub>Defines subscripted text<sup></sub>Defines superscripted

Page 12: Hmtl lecture

FONT TAG

<HTML><BODY>

<FONT>MY FIRST PARAGRAPH.</FONT>

</BODY></HTML>

Page 13: Hmtl lecture

FONT TAG ATTRIBUTES

Size Specifies the font size. Color Specifies the font color. Face Specifies the font face.

Page 14: Hmtl lecture

IMAGE TAG

<html>

<body>

<img src=“filename.extension”>

</body>

</html>

Page 15: Hmtl lecture

ATTRIBUTES

Page 16: Hmtl lecture

MARQUEE TAG

<HTML><BODY>

<MARQUEE>MY FIRST PARAGRAPH.

</MARQUEE>

</BODY></HTML>

Page 17: Hmtl lecture

ATTRIBUTES

Page 18: Hmtl lecture

To be continued…