You are on page 1of 1

Basic HTML

● HTML is a Hyper Text Markup Language


● Is not a programming language
● Uses markup tags to describe web pages

HTML Tags
● Keywords surrounded by angle brackets like <html>.
● Usually comes in pairs <body> , </body>.

HTML Web Pages


● Contains HTML tags and plain text
● HTML documents are also called web pages.

HTML Structure
● Not necessarily that you need indent, sometimes you do it only for better
identification.
<html>
<Head>
<Title>
My first Web
</Title>
</Head>
<body>
<h1> My heading </h1>
<p> Paragraph </p>
</body>
</html>

Basic HTML
● HTML Heading [h1 to h6]: <h1> Sample </h1>
● HTML Paragraph: <p> Paragraph </p>
● HTML Links: <a> href=”https://www.google.com”> Google </a>
● Carriage Return: <br>
● Horizontal Rule: <hr>
● Image: <img src=”sample.gif” width=”120” height=”20” />

Basic HTML - Table


<table border=”1”>
<tr>
<td>Row 1, cell 1</td>
<td>Row 1, cell 2</td>
</tr>
</table>

You might also like