Monday, 30 June 2014

Basic HTML !!

What is HTML?
HTML is a language it's describing for web pages.

HTML means Hyper Text Markup Language or
H = Hyper, T = Text, M = Markup, L = Language.
A markup language is a set of markup tags.
The tags describe document inner contents.
For eample:

<!DOCTYPE html>
<html>
<body>

<header>
<h1>My First HTML page</h1>
</header>

<p>My first HTML paragraph.</p>

<footer>My first HTML footer</footer>

</body>
</html>

Example Describe:
DOCTYPE is defines the document type of HTML.
The tags between <html> and </html> describes the web page.
The tags between <body> and </body> is the visible page inner contents.
The tags <header> and </header> top position on your web page.
The tags between <h1> and </h1> is displayed as a heading on your web page.
The tags between <p> and </p> is displayed as a paragraph on your web page.
The tags between <footer> and </footer> is displayed as a document or section.

No comments:

Post a Comment