|
HTML stands for HyperText Markup Language. It is a language for describing web pages or you can say it provides a means to describe the structure of text-based information in a document that is used by Web browsers to present text and graphics. HTML can also describe, to some degree, the appearance and semantics of a document, and can include embedded scripting language code (such as JavaScript) which can affect the behavior of Web browsers and other HTML processors. HTML contains special markers, or tags, which define the style and structure of the page.
HTML Tags
HTML markup tags are usually called HTML tags or HTML elements. It specifies structural elements in a document. Tags begin with a left-angle bracket < and end with a right-angle bracket >. You can write them in small letters, big letters, or any mixture. Start and end tags are called opening and closing tags.
HTML Example
<html>
<body>
<h1>Heading1</h1>
<h2>Heading2</h2>
<h3>Heading3</h3>
<p>Paragraph</p>
</body>
</html>
|
In the above example, the text between <html> and </html> describes the web page, the text between <body> and </body> is the visible page content, the text between <h1> and </h1> is displayed as a heading and the text between <p> and </p> is displayed as a paragraph.
Build HTML Page
To create a html page you can use a plain text editor (like Notepad) to write HTML. However, the professional web developers normally choose HTML editors like FrontPage or Dream weaver, instead of writing plain text.
HTML Extension
After creating your web page you can save an HTML file, either the .htm or the .html extension. Some old version of browser uses .htm extension but all new version of browser uses .html extension, but you can use both as you wish either .htm or .html extension.
|