(Hypertext Markup Language) : Mr. Roilan B. Bunyi
(Hypertext Markup Language) : Mr. Roilan B. Bunyi
(Hypertext Markup
Language)
• Objectives
– Define HTML
– Get to know the HTML language.
– Identify the main purpose of World Wide Web.
– Familiarize with the different version of HTML.
About HTML
• HTML (Hyper Text Markup Language) and its more
recent incarnation,
– XHTML HTML
• and its more recent incarnation, XHTML
(Extensible Hyper Text Markup Language) is the
central core on which all Web pages are built.
• Although there are new types of technology and coding
options, including PHP, ASP, XML and others,
traditional markup language is the place where "all
things Web" starts.
Hypertext Mark-up Language
• Objectives
– Enumerate the common HTML
authoring tools.
– Analyze the function editors and
converters to web page designing.
HTML Authoring Tools
• HTML Editors
– Writing HTML and XHTML code can be done
simple word processor.
• But it is important to note the average code write
should never use a processor such as Word,
WordPerfect, OpenOffice, or similar.
– These "high end" word processors are too
smart and will try to insert their own formatting
codes.
HTML Editors
The best software to use is also the most basic.
NotePad is a perfectly suitable tool for writing HTML.
Some programs that are specifically designed to create
Web pages, such as
Dreamweaver, have special HTML writing functions
that allow you to create straight code.
There are also programs such as HTMLKit that function
as "code insertion" programs where the user doesn't
necessarily write the code, but rather instructs the program
to insert blocks of HTML or XHTML.
Even though these programs make writing code
easier, it is still necessary to know the code.
HTML Editors
• Write HTML Using Notepad or TextEdit
– HTML can be edited by using a professional
HTML editor like:
• Adobe Dreamweaver
• Microsoft Expression Web
• CoffeeCup HTML Editor
– However, for learning HTML we recommend a
text editor like Notepad (PC) or TextEdit (Mac).
– We believe using a simple text editor is a good
way to learn HTML.
Creating a Web Page
• Objectives
– Create a simple web page using text editor.
– Understand the HTML template.
– Learn the basic HTML commands.
– Identify the different attributes of a BODY tag.
– Learn to use the proper way to write the BODY
tag.
– Familiarize with the attributes of body tags and
its uses.
Creating a Web Page
• Getting Started
– To get started with you Web project you need to
set up your site with the proper structure.
– Site structure is very simple. Your project has
• a "root folder" that contains all of the files
associated with the site.
– Inside the root folder (which, by the way,
can have any name you wish, it doesn't
have to be called "root") will be sub
folders for specific types of files.
Creating a Web Page
</body>
</html>
Step 2: Write Some HTML
Step 3: Save the HTML Page
Welcome to my Page!
I am _____________________.
A BS_______ from University of
Batangas.
And I love creating web pages! =)
BODY tag Attributes - <p></p>
• Adding and Formatting Text
• You will start by adding a
paragraph tag to the body of
your Web page. The code is
illustrated on the right.
• Paragraphs are one of the
elements that HTML is
designed to identify. Notice
that paragraphs are specified
with the p tag, <p> </p>.
• <p align = “center”>
• <p align = “left>
• <p align = “right”>
• <p align = “justify”>
<html>
<head>
<title>A Simple Webpage</title>
</head>
<body bgcolor = “yellow">
This is a simple webpage.
And I mean <em>really</em> simple.
</body>
</html>
2ND OPTION
<html>
<head>
<title>A Simple Webpage</title>
</head>
<body style="background: yellow">
This is a simple webpage.
And I mean <em>really</em> simple.
</body>
</html>
CHANGING THE BACKGROUND &
COLOR
Text and Background Color
<p style="background: yellow; color: purple">
There's a yellow rose in Texas, That I am
going to see,<br>
Nobody else could miss her, Not half as much as
me.<br>
She cried so when I left her, It like to broke my
heart,<br>
And if I ever find her, We nevermore will part.
<br>
</p>
HTML TIP: USE LOWERCASE TAGS