Welcome Guest [Log In] [Register]
Online Community Forums
Arcade Movies Radio Affilate Gallery Chatroom News Divinity Rpg
Search Members Calendar FAQ Rules Home Donate Donation Log
  • Navigation
  • Online Community Forums
  • →
  • Support Forums
  • →
  • Code Section
  • →
  • Html Tags
Welcome To OCF, the Online Community!
Here you can choose to either play the Arcade or watch a flash video in our Movies page. If your member please login to enjoy all our features and if a guest quickly register to see ALL of features!

Username:   Password:
Add Reply
Html Tags; [index]
Topic Started: 23/01/2008 - 05:25 pm (103 Views)
Victrixs 23/01/2008 - 05:25 pm Post #1
Member Avatar
Administrator

Posts:
361
Group:
Administrator
Member
#1
Joined:
4 December 2007
Here For:
Friends
Gender:
Male
What Browser are you using?
FireFox 2
Mood
Chill
Religion
Christian
Status
http://images.iconcatalog.com/data/2005/05/07/knight/Knight(1).gif
HTML TAG INDEX[color][/color][color][/color]





This Html Cheat Sheet is to help users learn html and also help you in your coding.
It is missing some html tags, so if you think I missed or should add anything please either pm me about this thread or reply.
For More support on HTML please create a new thread for help & wait for a reply from another member / staff.





Code: HTML
 

Basic Tags

<html></html>
Creates an HTML document

<head></head>
Sets off the title and other information that isn't displayed on the Web page itself

<body></body>
Sets off the visible portion of the document




Header Tags

<title></title>
Puts the name of the document in the title bar


Body Attributes

<body bgcolor=?>
Sets the background color, using name or hex value

<body text=?>
Sets the text color, using name or hex value

<body link=?>
Sets the color of links, using name or hex value

<body vlink=?>
Sets the color of followed links, using name or hex value

<body alink=?>
Sets the color of links on click


Text Tags
<pre></pre>
Creates preformatted text

<hl></hl>
Creates the largest headline

<h6></h6>
Creates the smallest headline

<b></b>
Creates bold text

<i></i>
Creates italic text

<tt></tt>
Creates teletype, or typewriter-style text

<cite></cite>
Creates a citation, usually italic

<em></em>
Emphasizes a word (with italic or bold)

<strong></strong>
Emphasizes a word (with italic or bold)

<font size=?></font>
Sets size of font, from 1 to 7)

<font color=?></font>
Sets font color, using name or hex value


Links

<a href="URL"></a>
Creates a hyperlink

<a href="mailto:EMAIL"></a>
Creates a mailto link

<a name="NAME"></a>
Creates a target location within a document

<a href="#NAME"></a>
Links to that target location from elsewhere in the document


Formatting

<p></p>
Creates a new paragraph

<p align=?>
Aligns a paragraph to the left, right, or center

<br>
Inserts a line break

<blockquote></blockquote>
Indents text from both sides

<dl></dl>
Creates a definition list

<dt>
Precedes each definition term

<dd>
Precedes each definition

<ol></ol>
Creates a numbered list

<li></li>
Precedes each list item, and adds a number

<ul></ul>
Creates a bulleted list

<div align=?>
A generic tag used to format large blocks of HTML, also used for stylesheets


Graphical Elements

<img src="name">
Adds an image

<img src="name" align=?>
Aligns an image: left, right, center; bottom, top, middle

<img src="name" border=?>
Sets size of border around an image

<map>
Defines an image map

<area>
Defines a clickable area inside an image map

<hr>
Inserts a horizontal rule

<hr size=?>
Sets size (height) of rule

<hr width=?>
Sets width of rule, in percentage or absolute value

<hr noshade>
Creates a rule without a shadow


Tables

<table></table>
Creates a table

<tr></tr>
Sets off each row in a table

<td></td>
Sets off each cell in a row

<th></th>
Sets off the table header (a normal cell with bold, centered text)

<caption>
Defines a table caption

<colgroup>
Defines groups of table columns

<col>
Defines the attribute values for one or more columns in a table

<thead>
Defines a table head

<tbody>
Defines a table body

<tfoot>
Defines a table footer


Table Attributes

<table border=#>
Sets width of border around table cells

<table cellspacing=#>
Sets amount of space between table cells

<table cellpadding=#>
Sets amount of space between a cell's border and its contents

<table width=# or %>
Sets width of table — in pixels or as a percentage of document width

<tr align=?> or <td align=?>
Sets alignment for cell(s) (left, center, or right)

<tr valign=?> or <td valign=?>
Sets vertical alignment for cell(s) (top, middle, or bottom)

<td colspan=#>
Sets number of columns a cell should span

<td rowspan=#>
Sets number of rows a cell should span (default=1)

<td nowrap>
Prevents the lines within a cell from being broken to fit


Frames

<frameset></frameset>
Replaces the <body> tag in a frames document; can also be nested in other framesets

<frameset rows="value,value">
Defines the rows within a frameset, using number in pixels, or percentage of w idth

<frameset cols="value,value">
Defines the columns within a frameset, using number in pixels, or percentage of width

<frame>
Defines a single frame — or region — within a frameset

<noframes></noframes>
Defines what will appear on browsers that don't support frames


Frames Attributes

<frame src="URL">
Specifies which HTML document should be displayed

<frame name="name">
Names the frame, or region, so it may be targeted by other frames

<frame marginwidth=#>
Defines the left and right margins for the frame; must be equal to or greater than 1

<frame marginheight=#>
Defines the top and bottom margins for the frame; must be equal to or greater than 1

<frame scrolling=VALUE>
Sets whether the frame has a scrollbar; value may equal "yes," "no," or "auto." The default, as in
ordinary documents, is auto.

<frame noresize>
Prevents the user from resizing a frame


Forms

For functional forms, you'll have to run a CGI script. The HTML just creates the appearance of a form.

<form></form>
Creates all forms

<select multiple name="NAME" size=?></select>
Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.

<option>
Sets off each menu item

<select name="NAME"></select>
Creates a pulldown menu

<option>
Sets off each menu item

<textarea name="NAME" cols=40 rows=8></textarea>
Creates a text box area. Columns set the width; rows set the height.

<input type="checkbox" name="NAME">
Creates a checkbox. Text follows tag.

<input type="radio" name="NAME" value="x">
Creates a radio button. Text follows tag

<input type=text name="foo" size=20>
Creates a one-line text area. Size sets length, in characters.

<input type="submit" value="NAME">
Creates a Submit button

<input type="image" border=0 name="NAME" src="name.gif">
Creates a Submit button using an image

<input type="reset">
Creates a Reset button



[redit]Editing Tags[/redit]
Edited by Victrixs, 01/03/2008 - 11:26 pm.
Posted Image[RPGData:933|9|109|125|90|90|177|135|Dragon Sword|Dragon Armor|Warrior|27179|Healing Potion|Magic Potion|122|1|1|6000|None|8|None|None]
Offline Profile Quote Post Goto Top
 
XNX 11/06/2008 - 11:43 pm Post #2
Member Avatar


Posts:
429
Group:
Administrator
Member
#20
Joined:
8 May 2008
Here For:
Forums
Gender:
Male
What Browser are you using?
FireFox 2
Mood
Happy
Thank you so much! I'm going to study this.
[RPGData:270|7|48|48|7|7|73|25|Ice Sword|Granite Armor|Ranger|5463|None|Magic Potion|48|11|1|581|None|NaN|None|Barbaric Rage][RPGData:377|7|48|48|7|7|70|25|Holy Spear|Granite Armor|Ranger|4579|Healing Potion|Magic Potion|44|13|1|1355|None|1|None|None]Online Community Forums!Online Community Forums!Online Community Forums!
Offline Profile Quote Post Goto Top
 
Victrixs 12/06/2008 - 01:25 am Post #3
Member Avatar
Administrator

Posts:
361
Group:
Administrator
Member
#1
Joined:
4 December 2007
Here For:
Friends
Gender:
Male
What Browser are you using?
FireFox 2
Mood
Chill
Religion
Christian
Status
http://images.iconcatalog.com/data/2005/05/07/knight/Knight(1).gif
No problem I suggest opening a test forum for you can test out what each tag does.
Posted Image[RPGData:933|9|109|125|90|90|177|135|Dragon Sword|Dragon Armor|Warrior|27179|Healing Potion|Magic Potion|122|1|1|6000|None|8|None|None]
Offline Profile Quote Post Goto Top
 
XNX 12/06/2008 - 06:33 pm Post #4
Member Avatar


Posts:
429
Group:
Administrator
Member
#20
Joined:
8 May 2008
Here For:
Forums
Gender:
Male
What Browser are you using?
FireFox 2
Mood
Happy
Okay.
[RPGData:270|7|48|48|7|7|73|25|Ice Sword|Granite Armor|Ranger|5463|None|Magic Potion|48|11|1|581|None|NaN|None|Barbaric Rage][RPGData:377|7|48|48|7|7|70|25|Holy Spear|Granite Armor|Ranger|4579|Healing Potion|Magic Potion|44|13|1|1355|None|1|None|None]Online Community Forums!Online Community Forums!Online Community Forums!
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Section · Next Topic »
Add Reply

Track Topic · E-mail Topic Time: 10:29 PM Nov 30
hit-counter-download.com
html hit counter code
Hosted for free by ZetaBoards