Hypertext Mark Up Language: Jonalyn G. Ebron
Hypertext Mark Up Language: Jonalyn G. Ebron
Hypertext Mark Up Language: Jonalyn G. Ebron
EBRON
HTML
HTML
HTML Basic
What is HTML?
HTML
What is HTML?
HTML
HTML Tags
HTML
HTML Documents = Web Pages
HTML
HTML Documents = Web Pages
HTML
HTML - Getting Started
heading
paragraph
HTML
HTM or HTML Extension?
HTML
HTML Headings
HTML headings are defined with the <h1> to <h6> tags
Tags Your result
Font size = 3
Font size = 2, italics
Default size = 3
HTML
HTML Paragraphs
paragraph
HTML
HTML Links
HTML links are defined with the <a> tag.
links
HTML
HTML Images
HTML images are defined with the <img> tag.
Image
HTML
HTML Elements
HTML documents are defined by HTML elements.
An HTML element is everything from the
start tag to the end tag:
Start tag * Element content End tag *
<p> This is a paragraph </p>
<a href="default.htm" > This is a link </a>
<br> </br>
* The start tag is often called the opening tag. The end tag is often
called the closing tag.
HTML
HTML Element Syntax
•An HTML element starts with a start tag / opening tag
HTML
HTML Font
<html>
element <html>
<body>
<body>
element <p>This is my first paragraph</p>
</body>
<p>
element </html>
HTML
HTML Font Tag
Font
size
Font
tags
Font
face
Font
color
HTML
HTML Advance
HTML
HTML Layout
Everywhere on the Web you will find pages that are formatted like
newspaper pages using HTML columns.
borders
cellpadding
Table
Tags
width
HTML
HTML Table
Table border
Headings
Data cells
Rows tag
HTML
HTML Frame
Each HTML document is called a frame, and each frame is
independent of the others.
The Frameset Tag
•The <frameset> tag defines how to divide the
window into frames
•Each frameset defines a set of rows or columns
HTML
HTML Frame
With frames, you can display more than one
Web page in the same browser window.
Frame
width
Frame
src
Frameset
cols
Vertical
HTML
HTML Frame
Frame
set Row
Frame
Src
Horizontal
HTML
HTML Scripts
Add scripts to HTML pages to make them more dynamic
and interactive. A script is defined with the <script> tag.
Script
tags
HTML
HTML Attributes
HTML
HTML Attributes
Core Attributes
Not valid in base, head, html, meta, param, script, style,
and title elements.
HTML
HTML Attributes
Language Attributes
Not valid in base, br, frame, frameset, hr,
iframe, param, and script elements.
HTML
HTML Attributes
Keyboard Attributes
Not valid in base, br, frame, frameset, hr,
iframe, param, and script elements.
HTML
HTML Form
HTML Forms are used to select different kinds of user
input.
Forms
• A form is an area that can contain form elements.
HTML
HTML Form
Text Fields
Text fields are used when you want the user to type letters,
numbers, etc. in a form.
Radio Buttons
•The most commonly used input types are Text fields, when
you want the user to type letters, numbers, etc. in a form.
•The type of input is specified with the type attribute.
Check Box
Checkboxes are used when you want the user to select
one or more options of a limited number of choices.
HTML
HTML Form
HTML Forms are used to select different kinds of user input.
form
Input
type =
text
Input
type =
submit
HTML
HTML Form
Form
action
Input type
= text
Input type
= submit
Input type
= reset
HTML