Create Simple HTML Document
Create Simple HTML Document
Let's make a simple Webpage Using HTML.
In this webpage we will print a text in the the center of the browser window.
Follow the steps bellow to make a simple Webpage in HTML:
Step 1: Open Notepad or any other HTML editor.
Step 2: type the following piece of code in notepad after typing all the commands the file should be looked as shown below:
Step 3: save the file as as sample.HTML
Step 4: Now open this file (sample.HTML) in the Google Chrome or any other browsers. The web page will look like as shown below:
In the above code we use:
<html></html> for HTML document. All the code would be written in this html tag.
<head></head> for the header of the document. The header includes title tag.
<title></title> for the title of the document.
<body></body> for the actual structure of the webpage.
<center></center> tag is used to Central everything found between the document-text, list, images, tables or any other page element.
Subscribe to my youtube channel
Now you are familiar with this how to make a simple web page. Now let we learn, how to use different tags in HTML document to create a web page. In the next one we will learn how to use heading tag. Please click the next button.
Now you are familiar with this how to make a simple web page. Now let we learn, how to use different tags in HTML document to create a web page. In the next one we will learn how to use heading tag. Please click the next button.
Comments
Post a Comment