Professional Documents
Culture Documents
Web Page Designing: (Using HTML)
Web Page Designing: (Using HTML)
DESIGNING
(using HTML)
MODULE
In 1990, Tim Berners-Lee invented the HTML. HTML stands for HyperText Markup
Language. This is the Languange used to create and link Web pages together. It is the
“mother tongue” of your website. An HTML document consists of only text – the main
text of the document and special instructions called tags. A Web page is designed by
using tags. Tags are the basic coding units in the HTML system. They are key words
or phrases that are enclosed by angle brackets <>. Tags describe how graphics and
text are to be displayed. They are also used to create links between documents. HTML
is run by a Web browser like Internet Explorer, Mozilla Firefox and Google Chrome.
These are the tools that can be displayed and run HTML documents and their links.
HTML Code
Web Page - is the lingua franca of the web. A group of electronic files stored on
computers all over the world containing a vast of information.
Website - a site or location on the world wide web. It may consists of one or more
pages that related to a common theme, such as a person, business, organization, or
any other subject.
Web Browser - is the software that you need in order to find, retrieve, view, and send
information on the internet. Examples are google chrome, mozilla firefox, internet
explorer, and opera mini, etc.
Download - to transfer a file from another system to your own computer system via a
modem over telephone or cable lines.
Firewall – software that limits certain kinds of access to a computer from a network or
other outside source.
Chat – a form of a real time communication where participants type what they want to
say and repeated on the screen of the other participants.
Syntax:
<Html>
<Head>
<Title></Title>
<Body></Body>
</Html>
BASIC CODES
AND ITS MEANING
OR TAGS
<HTML></html> - a guide to browser
<HEAD> - a larger font size text, usually bold or italic in style, showing
HEADING the different sections of a page
<HR> - Inline images that display lines across the page to separate
HORIZONTAL different sections
RULE
- Graphics, icons, bullets, line photos, or pictures that are not
IMAGE part of the HTML file.
- The text that makes up the main content of the Web page.
NORMAL TEXT It has many formats. It can be in paragraph form or bulleted
list.
LINKS
<BODY>
</BODY> - Text, phrases, or graphics that help the user to navigate
more on the Web page. By clicking the links, the browser
<BR> BREAK goes to a location in a file or to request a file from the
server.
<P>
PARAGRAPH - means break or line space
<font></font> - preformatted
- text
Title
Links Image/Animated
Heading
Horizontal Rule
Normal Text
Image
Body
Imagemap
Background
1. From the Menu bar, click the File menu and then click Save or Save As. The Save
As dialog box displays and changes the Save-in box to the target folder or drive.
2. Type the filename inside the Filename box below. (Remember to use an .HTML
extension for the file name.)
3. Then click the Save button.
TAGS are sets of instructions that tell the browsers what layout of text to use, what
graphics to be displayed, and where or what links are needed.
TAGS MEANING
TYPES
1. <HTML> Lets you set
Document <HEAD> up the basic
Structure <TITLE> BOOK</TITLE> structure of
</HEAD> your Web
<BODY> pages.
BOOK CRAFT
</BODY>
</HTML>
O
U
T
P
U
T
<HTML> Allows
<HEAD> readers to
<TITLE> BOOK</TITLE> choose
</HEAD> highlighted
<BODY> text or an
3. Links
<H1>BOOK CRAFT</H1> image from
<H3>PUBLISHING</H3> your Web
<AHREF=“C:\publication.htm”>journals</A> pages to go
</BODY> to other Web
</HTML> pages.
O
U
T
P
U
T
COMMAND FUNCTION
This indicates the beginning and the end of the heading section. “H” represents the
heading and “*” represents the size. <H1> is the largest and <H6> is the smallest.
Heading separates text and introduces new topics on the Web page. It varies in
sizes. Text formatted with heading appears differently in the Web browsers if different
points are used.
Syntax Output
The Text formatting feature is a powerful tool for organizing the content of your Web
pages and for easier navigation.
The HTML tags <BR> and <P> are used to format the text. They control the space
between the lines of text and point where lines break on the screen.
COMMAND FUNCTION
<HR>
<BR>
- Breaks a line text and marks the start of a new line.
It does not need a closing tag.
SyntaxOutput
1. Unordered List
2. Ordered List
3. Definition List
UNORDERED LIST
Syntax Output
ORDERED LIST
List Item tag Denotes an item on the <LI> list item content </LI>
list
Syntax Output
DEFINITION LIST
Definition List tag Denotes a definition list <DL> terms and definition
content </DL>
Syntax
Output
Output
e
After reading this module, the students should be able to:
a.) Define file format and images
b.) Analyze the standard format of image tag
c.) Apply the steps in inserting images in a Web page
d.) Know the advantages of adding image in a Web page
e.) Perform the rules for inserting background image
f.) Discuss the steps in creating a marquee
g.) Enumerate the reasons why image, background and marquee are
in important in creating a Web page
Attribute
<IMG SRC=”luneta.jpg”>
SRC stands for “source”. It tells the browser where to go to find the image.
The commonly used image file formats are: .gif and .jpeg.
Syntax Output
The placement of the image on the page can be controlled by using the Image Align
tag. Here are the different attributes of alignments.
Attribute Function
left or right Alignsto the side and wraps the text above, around, and below it.
top Alignswith the tallest item available.
text top Alignswith the tallest text character available
middle Alignsthe baseline of the current line with the middle of the image.
absmiddle Alignsthe middle of the current line with the middle of the image.
baseline Alignsthe bottom of the image with the baseline of the current
bottom line.
absbottom Aligns the bottom of the image with the bottom of the current line.
You set the <IMG> tags BORDER attribute to the width of the border in pixels.
Borders may be set from 0 to 10. If you set it to 0, you will not see any border.
Syntax Output
1. It provides content that is not available via text, such as scanned picture.
2. It adds color, humor and excitement to the Web page.
3. It attracts Netizens to visit your Website.
4. It attracts buyers to purchase your products.
CREATING BACKGROUND
Background is what underneath another object.
1. Image
2. Color
Syntax Output
Image Form
SyntaxOutput
MARQUEE
Marquee is a small section of the browser window that displays text rolls across the
screen.
Output
MARQUEE ATTRIBUTES
Output
A hyperlink or link is a word, group of words, or image that you can click on to jump to
another document. It is used to connect Web pages of different Web sites or Web
servers anywhere in the world. The World Wide Web is composed of millions of linked
Web pages. Hotspots are used to create a link. A hotspot is an area of a text or an
image that notifies the visitor that there is a link on the text or image.
Syntax Output
There are different colors used in a link to indicate that it is a normal, visited, or an
active link.
Attribute Function
Link color is the color without a mouse over it or before visited.
Link
The default color is usually blue.
Visited link controls the color of a link that has been clicked or
Vlink
visited. The default color is usually green or red.
Active link controls the color of a link on which a mouse has been
Alink
pressed but not clicked. The default color is usually green or red.
Syntax
Output
Syntax
Output
Information and Communication Technology – WEB PAGE DESIGNING
Prepared by: ANABELLE D. BAYSIC Page 36
IMAGE LINK
The image link is used as the linking tool in connecting to another Web page or Web
site.
Syntax
Output
e
After reading this module, the students should be able to:
a.) Define Web forms
b.) Apply the steps in creating a form tag.
c.) Know the uses of two special buttons in form tag.
d.) Enumerate the Web form elements.
e.) Perform the steps in creating a password tag.
f.) Discuss the steps in creating check boxes.
g.) Determine the steps in adding radio buttons.
h.) State the purpose of html Web forms.
Adding Web forms to your Web pages, allows you to communicate through your Web
site. Web form allows the user to enter information and provides predefined choices
from which the user can select. It is made up of spaces where you can enter text
information. A Web form is instantly submitted and most of the time they are also
immediately responded to. Most forms include fields: text boxes or pull-down menus
that allow user to input. The label explains what information is needed by an adjacent
field.
Creating form is easy. It can also appear anywhere on a Web page. The form tag has
two attributes, ACTION and METHOD. They define how a particular form will behave,
determine where the information entered by the user will go, and how it will be sent
there.
Information and Communication Technology – WEB PAGE DESIGNING
Prepared by: ANABELLE D. BAYSIC Page 39
Attribute Syntax Function
Describes what URL the information will
be sent to. It tells the address where
you will send this paper form. If an
<Form Action=”url”></Form>
ACTION is committed, the URL of the
page containing the form is used by
Form Tag
default.
<Form Sends the form entry results as a
Method=”post”></Form> document
Submits the results as a part of the URL
<Form Method=”get”></Form>
header instead.
1. Submit button – gathers all information entered in the form when it is clicked.
2. Reset Button– clears the form and returns all the settings to their original default
values.
Syntax Output
Syntax Output
Several Web sites would require the user to input a password to be able to access any
of the Web pages.
The MAXLENGTH attribute specifies the maximum number of characters a user may
enter into the field. If a MAXLENGTH is used, which is longer than the size of the text
field, then the text field will scroll to allow the user to enter more data. If MAXLENGTH
is not included in the code, the user may type any amount of text. But in most
PASSWORD fields, you will notice that there is limitation on the number of characters
that you can type.
Syntax
Syntax
Output
RADIO buttons are small white circles, each shown next to the label. They are similar to
check boxes. In a RADIO button, the user is only allowed to make a single choice from
the list by clicking a circle.
Syntax Output
1. It allows the users to communicate with you through your Web site.
2. It helps you to monitor who visited your Web site and get feedback from them.
3. It is used to promote some advertisements, announcements, or events.
A table is useful to summarize data from a database search or a set of choices. With
HTML tables, it’s not just text that can be placed inside but as well as pictures, links,
and even video and sounds.
TABLE ATTRIBUTES
<table>
<tr>
<td></td>
</tr>
</table>
Syntax
Output
SPANNING TABLE COLUMN AND ROW
Attribute Function
COLSPAN To span a column
ROWSPAN To span a row
Syntax
Output
USING CELLPADDING
Syntax
Output
Syntax
Output
Syntax
Output
SETTING BORDER COLOR AND BACKGROUND COLOR FOR TABLE
ROW
Syntax
Output
Modul
8
e
Information and Communication Technology – WEB PAGE DESIGNING
Prepared by: ANABELLE D. BAYSIC Page 53
CREATING FRAMES
Frames divide the browser window into parts, each of which appears as a separate
HTML document. Frames work very much like Tables. They are used to divide the
screen into two or more Web pages, and simultaneously display their contents in a
single browser window. Frames are used to assist in the navigation of many pages
over a large number of topics.
The Frameset tag tells the browser to get more files to be placed on the page. The
browser places all the files on one page.
Syntax
The value of this attribute defines the column width of each column (horizontal) within
the frameset. Each column width must be defined in terms of pixels (fixed), percentage
of browser window (variables), or as a relative value of space remaining (variable) using
the “*” symbol.
Attribute Function
Defines location and filename for frame
SRC
contents.
Defines frame name for reference by
NAME
hyperlinks.
Syntax
Output
The frameset row attributes specifies the row height of each row (vertical) within the
frameset. It is measured in terms of pixels (fixed) percentage of the area of the browser
window (variable), or as a relative value of space remaining (variable) using the “*”
symbol.
SYNTAX OUTPUT
Syntax Output
Attribute Function
Determines frames with or without
Frameborder borders: 0 or No – off borders, 1 or Yes
enables border.
Specifies the space between frames in
Border
the latest browsers.
Framespacing Specifies the space between frames in
Attribute Function
Specifies space between frame contents
Marginheight
and top and bottom borders.
Specifies space between frame contents
Marginwidth
and left and right borders.
Stops users from changing a frame’s
Noresize
dimensions.
Controls the appearance of the frames:
Scrolling “YES” includes scrollbars and “NO”
prevents the scroll bar to appear.
Syntax
DepEd - Manila