If you make a html page you must have to follow the HTML basic structure. HTML start with some tags and the HTML tag is commonly start with a start tag and end with a end tag. For example <h1></h1>
HTML Start:
A HTML page start with <html> tag and end with </html> tag. You can view HTML page any web browser.
- HTML page start <html> and </html> tag.
- Web page title give in the <title> and </title> tag.
- The display all page content of a web page write between <body> and </body> tag.
<html>
is the root element of an HTML page.<head>
contains meta information about the document.<!DOCTYPE html>
declaration defines this document to be HTML 5.<h1> tag is
defines a large heading tag of six tag.<p> tag is
defines a paragraph line of a text.- The HTML code write in a text editor.
Start HTML Code:
HTML code is start with a text editor. A text editor is the best way to learn HTML for HTML beginners. The HTML programming language is recommend a simple text editor like a Notepad document, Notepad ++, Codelobster and etc. You need to follow the four steps to create a web page. That’s are:
Step One:
Open a text editor, if you using Windows 7: Click start menu or Windows key on the Keyboard -> all programs -> Accessories -> Notepad or Notepad ++. if use Windows 8: Click the start menu ->type notepad -> open it.
Step Two:
Write some code in the text editor or copy code from the example and past into Notepad.
<!DOCTYPE html> <html> <head> <title>My Page Title</title> </head> <body> <h3>Welcome to HTML Page</h3> </body> </html>
Step Three:
Now save the Notepad file in you system that’s like, Click office button or File -> Choose Folder ->Give file name with extinction .html -> now click save button. For exapmle:
Step Four:
Now open the html file in a browser, which is your favorite browser. Right click on the file -> go to open with option -> choose any browser and click.
It show your browser that’s like: