http://w3schools.com/. define html document byusing example : title of the document the content of...

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

Upload: sherman-mcdonald

Post on 26-Dec-2015

235 views

Category:

Documents


8 download

TRANSCRIPT

Page 1: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

HTML

Hyper Text Markup Language

http://w3schools.com/

Page 2: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

Define HTML Document

Define 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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

Body tag

Is website content<body>content</body>

http://w3schools.com/

Page 5: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

Code structure

http://w3schools.com/

Page 6: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

HTML Paragraphs

HTML paragraphs are defined with the <p> tag.

<p>This is a paragraph</p>

http://w3schools.com/

Page 8: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

HTML Images

HTML images are defined with the <img> tag.

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

http://w3schools.com/

Page 10: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

Comment

Comment or note in html document

<!-- This is a comment -->

http://w3schools.com/

Page 12: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document

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/