Hello! Have A Great Day!
Hello! Have A Great Day!
A Web Page is a document that can be accessed by the Internet users using an
HTML browser (such as Microsoft, Mozilla Firefox). By providing the browser with a
unique address, or UNIFORM RESOURCE LOCATOR (URL), you open that page with
that address.
HTML works in a very straightforward manner. All you need is to type in your text
and your tags.
ELEMENTS- also called tags. This describes the meaning of the text they
contain, rather than how the enclosed text should be displayed.
ANGLE BRACKETS <> - used to indicates that the following word is an
element or tags
DESCRIPTION
Defines an HTML document
Defines the documents body
Defines header 1 to header 6
Defines a paragraph
Inserts a single line break
Defines a horizontal line
Defines a comment
A beginning tag is generally a word surrounded by brackets. The closure (or ending)
tag is surrounded by the same brackets but with a forward slash right after the
opening bracket.
For example, if you want to make a bold portion of a sentence, then you use <b>
for the opening tag and </b> for closing.
Lets say you want to make bold the word Hello! in the sentence below. Your HTML
code the should look like this: <b>Hello!</b> Have a great day!
Hello! Have a great day!
REQUIRED ELEMENTS FOR HTML DOCUMENTS
An HTML document consists of:
1. Head elements
2. Body elements
3. Graphic elements
<HTML>
<HEAD>
<<
<TITLE>
How to Make Your Own Web Page
</TITLE>
</HEAD>
<BODY>
HEAD
BODY
The head is used for text and tags that do not show directly the page.
The body is used for text and tags that are shown directly on the page.
<html>
<head>
<title> replace with your documents title
</title>
</head>
<body> replace with your documents
content
</body>
</html>
The head section begins with a <HEAD> tag. Do not type any extra text
between the <HEAD> and </HEAD> tags. In most cases, the only lines you
will insert between those tags are your document titles.
It has no attributes and serves only to contain the other tags that make up
the head section.
The <head> tag may contain any of the following tags that define and
manage the content of the document.
Finally, all web pages have an <html> tag at the beginning and the end,
telling the browser where the documents and where it stops.
<html>
<head>
<!-- This section is for the title and techical info of
the page. -->
</head>
<body>
<!--This section is for all that you want to show on
the page. -->
</body>
The <TITLE> Elements Wrapped in <Title> </Title>
<TITLE></TITLE> where title is meaningful in context outside of.
***May kulang dito***
The <BODY> Elements Wrapped in <Body></Body>
The body section contains most of the text, graphics, hypertext links and
other information that will appear on the page.
All formatting tags, which describe the content and appearance of your
document, are placed in the body section.
Sometimes it is easier to type <Body> and </Body> tags on separate lines
right away and then fill in the rest of your HTML document between them.
BACKGROUND
FUNCTION
Controls the background
color of the page. It is
expressed as a mixture of
red, green and blue (RGB).
It allows you to place a
picture or image in the
background of your
page.The value specified
in the background
attribute is path or URL,
for the background image
you have selected.
FORMAT
<BODY
bgcolor=yellow> or
<BODY
bgcolor=#FFFF00>
<BODY
background=alps.gif>