Professional Documents
Culture Documents
1
Click to edit Master title style
2 2
HTML
Click Editors
to edit Master title style
4 4
Notepad++
Click Environment
to edit Master title style
TITLE BAR
MENU BAR
TAB
BAR
TOOL BAR
LINE
NUMBER
TEXT AREA
STATUSB 5 5
AR
Notepad++
Click Environment
to edit Master title style
6 6
Notepad++
Click Environment
to edit Master title style
8 8
Basic
Click Commands
to edit Master title style
1. Open a file
We can use the tab bar or the tool bar.
9 9
Basic
Click Commands
to edit Master title style
2. Save a file
To save an HTML file, include the file type as we enter its file
name.
3. Run a file
To launch web pages, choose the run menu, then choose your
preferred browser.
1111
Basic
Click Commands
to edit Master title style
4. Close a file
Choose the Close command from the File Menu.
1212
Basic
Click Commands
to edit Master title style
5. Exit Notepad++
Exiting notepad++ only closes the program. This means that the
program is opened.
1313
HTML
Click to edit Master title style
File
HTML is a document that tells a computer how to display a
web page.
The document itself is a plain text file with a special tags or
codes.
The file name extension of an HTML file is .htm or .html
1414
Structure
Click to edit Master title style
1515
Structure
Click to edit Master title style
1616
Elements and Tags
Click to edit Master title style
<body> It contains the web page content that will be displayed on the
browser window.
<title> It specifies a title for the document and displays it on the title
bar of the browser window. 1818
Elements and Tags
Click to edit Master title style
Remember:
1. The codes are indented.
Press the Tab key, not pressing the space bar four times.
2. The codes are not on one (1) line.
Difficult to figure out where the code ends and content begins.
3. The opening and closing tags of an element must be at the same
level.
Easy for us to see that we have closed code.
Help us differentiate between a code and a content.
1919
Attributes
Click to edit Master title style
Elements can contain attributes.
Attributes
Provide additional information about the content/s of an element.
The attributes should be added in the opening tag of the element.
It is made up on 2 parts: attribute name and value, separated by an equal sign
Syntax: <opening tag attribute name = “value”> Content </closing tag>
Example:
Bgcolor
It describes more about the body element.
Specifies the background color for the web page. 2020
Deprecated Tags and
Click to edit Master title style Attributes
Deprecated
Refers to tags and attributes that are not anymore recommended by
W3C to be used.
Been replaced by newer and better tags and attributes.
Future browser version may also stop supporting these deprecated
items.
Example:
Bgcolor attribute is a deprecated attribute. It can be replaced by using CSS.
Syntax: body{ background-color: pink; }
2121
Click to edit Master title style
Thank You
22