0% found this document useful (0 votes)
3 views4 pages

HTML

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

HTML

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

HTML: THE BASICS

Example: <html> =
Start/Opening Tag
</html> = End/Closing
Tag
CREATING AN HTML FILE USING NOTEPAD
• Open the Notepad from the start menu of the computer.
• Write an HTML code in the notepad.
• Save the file with .html or .htm file extension.
• View the file using any web browser.
EDITING THE SOURCE CODE OF AN HTML FILE
• Right click the HMTL file then click “Open with” then select “Notepad” from the sub-menu.
• Open Notepad then click, drag and drop the HMTL file into the Notepad.

SAMPLE:

<html>
<title>MY WEB PAGE</title>
<background src=”[Link]”>
<body>
<center><font size=36 color=blue face=broadway>THIS IS MY FIRST WEB PAGE</font></center>
<br><br>
<center>
<table border=5 cellpadding=50>
<tr>
<td><center><a href=”[Link]”>HOME</a></td>
<td><center><a href=”[Link]”>GALLERY</a></td>
<td><center><a href=”[Link]”>ABOUT</a></td>
<td><center><a href=”[Link]”>CONTACT</a></td>
</tr>
</table>
</center><br><br>
<hr>
<br><br>
<center>
<font color=red><h1>SAMPLE WEB PAGE USING TABLE AND HYPERLINK</h1></font><br>
<p>CAGAYAN NATIONAL HIGHS CHOOL</p><br><br>
<img src=”[Link]” width=50></img><br>
<marquee><h3>ERDINE TAPULAO RAFUL</h3></marquee>
</center>
</body>
</html>
________________________________________________________

NOTE: save this as “[Link]”


SOURCE: [Link]

You might also like