HTML

13
HTML Hyper Text Markup Language http://w3schools.com/

description

HTML . Hyper Text Markup Language. http://w3schools.com/. Define HTML Document. Define html document byusing Example : Title of the document The content of the document...... . http://w3schools.com/. Head Tag. - PowerPoint PPT Presentation

Transcript of HTML

Page 1: HTML

HTML Hyper Text Markup Language

http://w3schools.com/

Page 2: HTML

Define HTML DocumentDefine html document byusing <html>Example : <html>

<head><title>Title of the document</title></head>

<body>The content of the document......</body>

</html>

http://w3schools.com/

Page 3: HTML

Head Tag

To put the Description of website such as title,scripts, styles, meta information, and more.

<head><title>Title of the document</title></head>

http://w3schools.com/

Page 4: HTML

Body tag

Is website content<body>content</body>

http://w3schools.com/

Page 5: HTML

Code structure

http://w3schools.com/

Page 6: HTML

HTML Headings

• HTML headings are defined with the <h1> to <h6> tags.

<h1>This is a heading</h1><h2>This is a heading</h2><h3>This is a heading</h3>

http://w3schools.com/

Page 7: HTML

HTML Paragraphs

HTML paragraphs are defined with the <p> tag.

<p>This is a paragraph</p>

http://w3schools.com/

Page 8: HTML

HTML Links

HTML links are defined with the <a> tag.

<a href="http://www.designdeedee.net">This is a link</a>

http://w3schools.com/

Page 9: HTML

HTML Images

HTML images are defined with the <img> tag.

<img src="w3schools.jpg" width="104" height="142">

http://w3schools.com/

Page 10: HTML

horizontal line

The <hr>tag creates a horizontal line in an HTML page.

The hr element can be used to separate content:<p>This is a paragraph.</p>

<hr><p>This is a paragraph.</p><hr><p>This is a paragraph.</p>

http://w3schools.com/

Page 11: HTML

Comment

Comment or note in html document

<!-- This is a comment -->

http://w3schools.com/

Page 12: HTML

HTML Line Breaks

Use the <br> tag if you want a line break (a new line) without starting a new paragraph:

<p>This is<br>a para<br>graph with line breaks</p>

http://w3schools.com/

Page 13: HTML

HTML Text Formatting

Bold<p><b>This text is bold</b></p>

italic<p><i>This text is italic</i></p>

subscript / superscript<p>This is<sub> subscript</sub> and <sup>superscript</sup>

http://w3schools.com/