Web Pages are written in HTML. HTML is used to create the structure
of a Web Page. HTML uses tags to describe the parts of the Web Page,
for example, headings and paragraphs.
All HTML is enclosed within <html> and </html> tags. It is good programming
style for HTML tag names to be in lower case. Notice the first tag in
the snippet ( <! DOCTYPE html> ). This line of code tells the Web Browser what
type of document to display.
Add the head section of the document using the <head> and </head> tags. The <title> and
</title> tags allow you to specify the title of the document. The title
of the document appears in the Web Browser tab when the Web Page is loaded.
<head><title>Lorem Ipsum</title></head>
Now, add a the body section of the page. The body section of the page is where
the content of the page is to be put. Within the <body> and </body> tags is where
the content of the Web Page is to be put, and to be structured.
Add the document body section to the Web Page. Add a heading and two paragraphs.
of a Web Page. HTML uses tags to describe the parts of the Web Page,
for example, headings and paragraphs.
All HTML is enclosed within <html> and </html> tags. It is good programming
style for HTML tag names to be in lower case. Notice the first tag in
the snippet ( <! DOCTYPE html> ). This line of code tells the Web Browser what
type of document to display.
<! DOCTYPE html>
<html>
</html>
</html>
</title> tags allow you to specify the title of the document. The title
of the document appears in the Web Browser tab when the Web Page is loaded.
<head><title>Lorem Ipsum</title></head>
Now, add a the body section of the page. The body section of the page is where
the content of the page is to be put. Within the <body> and </body> tags is where
the content of the Web Page is to be put, and to be structured.
Add the document body section to the Web Page. Add a heading and two paragraphs.
<body>
<h1>Lorem Ipsum</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s..</p>
</body>
Source Code
That's it! You have created your first Web Page. Save the file and run it in your Web Browser!
<h1>Lorem Ipsum</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s.</p>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s..</p>
</body>
Source Code
That's it! You have created your first Web Page. Save the file and run it in your Web Browser!
No comments:
Post a Comment