HTML Basics. Basics of Hyper Text Markup Language (HTML). You will learn to use HTML page to display in a web browser.
Need a text editor, such as Notepad and an Internet browser, such as Internet Explorer or Google Crome
Open your Notepad and type the following text:
<html>
<head>
<title> My First Webpage </title>
</head>
<body>
This is my first homepage. <b> This text is bold </b>
</body>
</html>
Save the file as Index.html . Then Start Internet browser.Double Click and Open YourIndex.html in your browser. Now you should see an address in the
Details About code
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.
The text between the <head> tag and the </head> tag is header information. Header information is not
displayed in the browser window.
The text between the <title> tags is the title of your document. The <title> tag is used to uniquely
identify each document and is also displayed in the title bar of the browser window.
The text between the <body> tags is the text that will be displayed in your browser.
The text between the <b> and </b> tags will be displayed in a bold font.
No comments:
Post a Comment