HTML Chapter 1
HTML Chapter 1
Note: The content inside the <body> section (the white area above) will be displayed in a
browser. The content inside the <title> element will be shown in the browser's title bar or in
the page's tab.
HTML History
Since the early days of the World Wide Web, there have been many versions of HTML:
Year Version
1989 Tim Berners-Lee invented www
1991 Tim Berners-Lee invented HTML
1993 Dave Raggett drafted HTML+
1995 HTML Working Group defined HTML 2.0
1997 W3C Recommendation: HTML 3.2
1999 W3C Recommendation: HTML 4.01
2000 W3C Recommendation: XHTML 1.0
2008 WHATWG HTML5 First Public Draft
2012 WHATWG HTML5 Living Standard
2014 W3C Recommendation: HTML5
2016 W3C Candidate Recommendation: HTML 5.1
2017 W3C Recommendation: HTML5.1 2nd Edition
2017 W3C Recommendation: HTML5.2
HTML Editors
A simple text editor is all you need to learn HTML.
Learn HTML Using Notepad or TextEdit
• Web pages can be created and modified by using professional
HTML editors.
• However, for learning HTML we recommend a simple text
editor like Notepad (PC) or TextEdit (Mac).
• We believe in that using a simple text editor is a good way to
learn HTML.
• Follow the steps below to create your first web page with
Notepad or TextEdit.
Learn HTML Using Notepad or TextEdit
Step 1: Open Notepad (PC)
• Windows 8 or later:
• Open the Start Screen (the window symbol at the bottom left on
your screen). Type Notepad.
• Windows 7 or earlier:
• Open Start > Programs > Accessories > Notepad
Learn HTML Using Notepad or TextEdit
Step 2: Write Some HTML
Write or copy the following HTML code:
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Learn HTML Using Notepad or TextEdit
Step 3: Save the HTML Page
Save the file on your computer. Select
File > Save as in the Notepad menu.
Example
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
HTML Paragraphs
HTML paragraphs are defined with the <p> tag:
Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
DEMO
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic