HTML
Definition:- HTML stands for Hyper Text Markup Language.
Html Structure
This is a complete webpage
<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage. <b>This text is bold</b>
</body>
</html>
|
- If you are running Windows, start Notepad. Copy the above code and past it in your Notepad.
- Save the file as "mypage.html".
- Now click on your “mypage” file
- The browser will display the page.
Note:-You can test it in our html test page
How does it work?
1. The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document. The last tag in your document is </html>. This tag tells your browser that this is the end of the HTML document.
2. The text between the <head> tag and the </head> tag is header information. Header information is not displayed in the browser window.
3. The text between the <title> tags is the title of your document. The title is displayed in your browser's caption.
4. The text between the <body> tags is the text that will be displayed in your browser.
5. The text between the <b> and </b> tags will be displayed in a bold font.
HTML Editors
You can easily edit HTML files using a text editor like FrontPage or Dream Weaver.
It will be good for you. Use a plain text editor to learn your prime HTML
|