|
|
|
|
HTML or HyperText Markup Language is the main markup language for
creating web pages and other information that can be displayed in a web
browser.
HTML is written in the form of HTML elements consisting of tags enclosed
in angle brackets (like <html>), within the web page content. HTML tags
most commonly come in pairs like <h1> and </h1>, although some tags
represent empty elements and so are unpaired, for example <img>. The
first tag in a pair is the start tag, and the second tag is the end tag
(they are also called opening tags and closing tags). In between these
tags web designers can add text, further tags, comments and other types
of text-based content.
The purpose of a web browser is to read HTML documents and compose them
into visible or audible web pages. The browser does not display the HTML
tags, but uses the tags to interpret the content of the page.
Elements
Elements are selectors enclosed by < > brackets.
Elements tells the browser (Chrome, Firefox, Internet Explorer, etc )
what it is to process next.
Since we are going to talk about tables first, here is an example of an
Element used to create a table: <table>.
<table> is an opening tag in that it tells the browser that you are now
want to open a table.
Whenever you have an opening tag you usually, but not always, need a
closing tag which tells the browser that the coding for the element, in
this case table, is finished.
The closing tag for tables looks like this: </table>.
Notice the / forward slash before the word table in this closing tag.
Commonly Used HTML Tags
<P> ..... </P> :
Paragraph
<B> ..... </B>
: Bold
<I> ..... </I>
: Italic
<U>..... </U>
: Underline
<EM> ..... </EM> :
Emphasize
<br> ..... </br> :
Break
<HR> ..... </HR> :
Horizontal Role
Physical Formatting
Tags
<B>
Bold text
<I>
Italicized text
<U>
Underlined text
<SUP>
Superscripted text
<SUB>
Subscripted text
<Blink>
Blink text
<Center> Centered text
|
|
|
|
|
|
|
|
|
|
| Audrey Josh P.
Ricalde [email protected] |
|