Page 60 - CA_165_V2.0_Flipbook
P. 60
Step 7: The Save As dialog box appears. In the File name box, type the name of the file followed by
.html. Make sure to save it with the .html extension.
Step 8: In the Save as type box, select All Files from the drop-down menu.
Step 9: In the Save As dialog box, click on the Save button at the bottom.
VIEWING THE WEB PAGE IN WEB BROWSER
After creating your HTML document in a text editor such as Notepad, you can use a web browser to view
and test the page. Perform the following steps to view the web page in a web browser:
Step 1: Navigate to the location where you have saved the HTML file.
Step 2: Double-click on the file. You will see that the HTML file will open in the default web browser of
your computer.
The visible text
displayed on the
web page
ATTRIBUTES
Attributes are special words used inside the opening tag of an HTML element to provide additional
information about that element. Attributes define properties, set values, or specify the behavior of the
elements. Key characteristics of attributes include:
They are written in the opening tag of an HTML element.
They consist of a name and a value, separated by an equal sign ('=').
Attribute values must be enclosed in quotes (either single or double).
The syntax for using attributes is as follows:
58 Touchpad Computer Applications-X

