http://w3schools.com/. define html document byusing example : title of the document the content of...
TRANSCRIPT
![Page 2: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/3.jpg)
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 6: Http://w3schools.com/. Define html document byusing Example : Title of the document The content of the document](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062421/56649e165503460f94b00ce5/html5/thumbnails/13.jpg)
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/