What is HTML?
- HTML stands for Hyper Text Markup Language.
- An HTML file is a text file containing small markup tags, these markup tags tell the Web browser how to display the page.
- An HTML file can be created using a simple text editor
How to create HTML page
Click on Start > Open Run
Run > type notepad in Run to open notepad
Now to open a new file > Click New in File menu.
This is how code will be written in notepad.
Now to save file > Click Save As in File menu.
Write file name and save it in .htm or .html format
File will be saved as "firstpage.htm" or "firstpage.html"
Basic structure of HTML coding
<html> <head> <title>Title of page- Youth For Revolution India </title> </head> <body>This is first tutorial on HTML from Vinit Kumar Sharma. Youth For Revolution India.</body> </html>
Save the file as "firstpage.htm" or "firstpage.html".
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 is displayed in your browser's caption. The text between the <body> tags is the text that will be displayed in your browser.
HTML documents are text files made up of HTML elements. HTML elements are defined using HTML tags. HTML tags are used to mark-up HTML elements HTML tags are surrounded by the two characters < and > The text between the start and end tags is the element content HTML tags are not case sensitive
This is an HTML element: <b> HTML element content </b>
To view the code of this tutorial, click here.
To know about how to write headings and tables, see the next tutorial on HTML Headings & Tables.
Related Online Articles:
- Introduction To QBASIC
- Object Oriented Programming: Introduction
- Mouse Events and colors in Visual Basic 6
- Remote Method Invocation (RMI)
- Java XML Digital Signature API
- Learning Photoshop: Navigating the Workspace
- Common Pitfalls for PHP Coders
- What is PHP and what is its use
- Intro to Flash and Making Moving Text
- About Ruby
No comment yet. Be the first to post a comment.