| Introduction
|
|
HTML is nothing but " Hyper Text Markup Language - A set of instructions embedded in a document is called HTML. "
|
What is HTML?
HTML is a language for describing web pages.
» HTML stands for Hyper Text Markup Language
» HTML is not a programming language, it is a markup language.
» A markup language is a set of markup tags.
» HTML uses markup tags to describe web pages.
|
HTML Tags
HTML markup tags are usually called HTML tags.
» HTML tags are keywords surrounded by angle brackets like <html>
» HTML tags normally come in pairs like <b> and </b>
» The first tagn a pair is the start tag, the second tag is the end tag
» Start and end tags are also called opening tags and closing tags
|
Example:
<html>
<body>
<h1>Heading</h1>
<p> paragraph</p>
</body>
</html>
Example Explained:
» 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
» The text between <p> and </p> is displayed as a paragraph
Use Your Test Web For Learning
We suggest you experiment with everything you learn at chennaisunday by editing your web files with a text editor (like Notepad).
Note: If your test web contains HTML markup tags you have not learned, don't panic. You will learn all about it in the next chapters.
HTM or HTML Extension?
When you save an HTML file, you can use either the .htm or the .html extension. We use .htm in our examples. It is a habit from the past,
when the software only allowed three letters in file extensions.
» HTML element starts with a start tag / opening tag.
» An HTML element ends with an end tag / closing tag.
» The element content is everything between the start and the end tag.
» Some HTML elements have empty content.
» Empty elements are closed in the start tag.
» Most HTML elements can have attributes.
|
HTML Syntax:
<html>
<head>
<title>skdotCom</title>
</head>
<body>
{
//..........?
}
</body>
</html>
|
|
Back to Top |