2. save HTML
document using
HTML file extension;
OBJECTIVES:
3. understand the
importance of using
appropriate file
extension in saving
HTML document.
OBJECTIVES:
HTML FILE
HTML FILE
is a text document containing
code written in HTML (Hypertext
Markup Language). It serves as the
foundation for creating web pages
and dictates the structure,
content, and layout of a web page.
HTML
STRUCTURE
HTML STRUCTURE
HTML FILE
EXTENSION
HTML FILE EXTENSION
The “.html” file extension indicates
that the file is an HTML document,
containing code written in HTML
(Hypertext Markup Language) for
creating web pages.
STEPS ON HOW TO
SAVE HTML FILE
USING .HTML FILE
EXTENSION
OPEN YOUR NOTEPAD IN YOUR
COMPUTER OR PC
1.
Write your HTML code,
following the HTML
structure.
2.
After finishing your HTML
document, click on
“File” in the top menu.
3.
Choose “Save As” from
the options displayed in
the File menu.
4.
A new window will pop
up, allowing you to
select where to save
your HTML document.
5.
Enter the desired name
for your file, such as
“MY WEB PAGE”.
6.
7.
Remember to add the
“.html” extension to
the file name, like this:
“MY WEB PAGE.html”.
8.
Change the “save as
type” to “All Files”.
9.
Finally, click the
“Save” button to save
your HTML document.
HOW TO OPEN YOUR
HTML DOCUMENT IN
BROWSER
1. Open the file and find
where you saved the
HTML document.
2. Right-click the HTML document
and select “Open with”. This will
display various options for
browsers to choose from for
opening your HTML document.
YOUR HTML DOCUMENT WHEN YOU OPEN IT
IN GOOGLE CHROME
YOUR HTML DOCUMENT WHEN YOU OPEN IT IN
MICROSOFT EDGE
SAVE THE
DOC!!
Fauget High School
CREATE YOUR OWN HTML ABOUT
YOURSELF.
PUT A TITLE OF YOUR OWN CHOICE.
PUT A HEADING IN THE BODY TAG.
PUT A PARAGRAPH ABOUT
YOURSELF IN THE BODY TAG.
IN THE <P> TAG, PUT YOUR FULL NAME,
AGE, GRADE AND SECTION, ADDRESS AND
YOUR DREAM SOMEDAY.
*every details should be put in one
<p> tag. Do not put all your details in
just one <p>