Introduction To HTML: Created By: Blesilda B. Vocal
Introduction To HTML: Created By: Blesilda B. Vocal
Introduction To HTML: Created By: Blesilda B. Vocal
Created by :
Blesilda B. Vocal
What is HTML?
Stands for Hyper Text Markup
Language
Is a language for describing web pages.
It is made up of markup tags.
</body>
</html>
HTML Headings
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
<a href="http://www.facebook.com/">Like us on facebook</a>
<img src="C:\Users\User\Desktop\webpage\send email.gif" alt="click
here"/>
</body>
</html>
Src stands for "source". The value of the src attribute is the URL
of the image you want to display.
Example
<!DOCTYPE html>
<html>
<body style="background-color:yellow;">
<h2 style="background-color:red;">This is a heading</h2>
<p style="background-color:green;">This is a paragraph.</p>
</body>
</html>
HTML FONT, COLOR & SIZE
The font-family, color, and font-size properties defines
the font, color, and size of the text in an element:
Example
<!DOCTYPE html>
<html>
<body>
<h1 style="font-family:verdana;">A heading</h1>
<p style="font-family:arial;color:red;font-
size:20px;">A paragraph.</p>
</body>
</html>
HTML Style Example - Text
Alignment
The text-align property specifies the horizontal
alignment of text in an element:
Example
<!DOCTYPE html>
<html>
<body>
<h1 style="text-align:center;">Center-aligned
heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
HTML TABLES
Example
</body>
</html>
HTML Definition Lists
A definition list is a list of items, with a description of each
item.
The <dl> tag defines a definition list.
The <dl> tag is used in conjunction with <dt> (defines the
HTML LAYOUT
BURGOS NATIONAL HIGH SCHOOL
Menu Content goes here
HTML
CSS
JavaScript
Copyright W3Schools.com
<!DOCTYPE html>
<html>
<body>
<tr valign="top">
<td style="background-color:#FFD700;width:100px;text-align:top;">
<b>Menu</b><br />
HTML<br />
CSS<br />
JavaScript
</td>
<td style="background-color:#EEEEEE;height:200px;width:400px;text-align:top;">
Content goes here</td>
</tr>
<tr>
<td colspan="2" style="background-color:#FFA500;text-align:center;">
Copyright W3Schools.com</td>
</tr>
</table>
</body>
</html>