aka J Love
Moderator Community Supporter?
Bill Gates is my home boy
Gender:
Posts: 884
1636 credits Members referred : 4
« on: Dec 22, 2005, 06:22:06 AM »
Basic Tags
Code:
<html></html>
Creates an HTML document
Code:
<head></head>
Sets off the title and other information that isn't displayed on the Web page itself
Code:
<body></body>
Sets off the visible portion of the document
Header Tags
Code:
<title></title>
Puts the name of the document in the title bar
Body Attributes
Code:
<body bgcolor=?>
Sets the background color, using name or hex value
Code:
<body text=?>
Sets the text color, using name or hex value
Code:
<body link=?>
Sets the color of links, using name or hex value
Code:
<body vlink=?>
Sets the color of followed links, using name or hex value
Code:
<body alink=?>
Sets the color of links on click
Text Tags
Code:
<pre></pre>
Creates preformatted text
Code:
<hl></hl>
Creates the largest headline
Code:
<h6></h6>
Creates the smallest headline
Code:
<b></b>
Creates bold text
Code:
<i></i>
Creates italic text
Code:
<tt></tt>
Creates teletype, or typewriter-style text
Code:
<cite></cite>
Creates a citation, usually italic
Code:
<em></em>
Emphasizes a word (with italic or bold)
Code:
<strong></strong>
Emphasizes a word (with italic or bold)
Code:
<font size=?></font>
Sets size of font, from 1 to 7
Code:
<font color=?></font>
Sets font color, using name or hex value
Links
Code:
<a href="URL"></a>
Creates a hyperlink
Code:
<a href="mailto:EMAIL"></a>
Creates a mailto link
Code:
<a name="NAME"></a>
Creates a target location within a document
Code:
<a href="#NAME"></a>
Links to that target location from elsewhere in the document
Formatting
Code:
<p></p>
Creates a new paragraph
Code:
<p align=?>
Aligns a paragraph to the left, right, or center
Code:
<br>
Inserts a line break
Code:
<blockquote></blockquote>
Indents text from both sides
Code:
<dl></dl>
Creates a definition list
Code:
<dt>
Precedes each definition term
Code:
<dd>
Precedes each definition
Code:
<ol></ol>
Creates a numbered list
Code:
<li></li>
Precedes each list item, and adds a number
Code:
<ul></ul>
Creates a bulleted list
Code:
<div align=?>
A generic tag used to format large blocks of HTML, also used for stylesheets
Graphical Elements
Code:
<img src="name">
Adds an image
Code:
<img src="name" align=?>
Aligns an image: left, right, center; bottom, top, middle
Code:
<img src="name" border=?>
Sets size of border around an image
Code:
<hr>
Inserts a horizontal rule
Code:
<hr size=?>
Sets size (height) of rule
Code:
<hr width=?>
Sets width of rule, in percentage or absolute value
Code:
<hr noshade>
Creates a rule without a shadow
Tables
Code:
<table></table>
Creates a table
Code:
<tr></tr>
Sets off each row in a table
Code:
<td></td>
Sets off each cell in a row
Code:
<th></th>
Sets off the table header (a normal cell with bold, centered text)
Table Attributes
Code:
<table border=#>
Sets width of border around table cells
Code:
<table cellspacing=#>
Sets amount of space between table cells
Code:
<table cellpadding=#>
Sets amount of space between a cell's border and its contents
Code:
<table width=# or %>
Sets width of table — in pixels or as a percentage of document width
Code:
<tr align=?> or <td align=?>
Sets alignment for cell(s) (left, center, or right)
Code:
<tr valign=?> or <td valign=?>
Sets vertical alignment for cell(s) (top, middle, or bottom)
Code:
<td colspan=#>
Sets number of columns a cell should span
Code:
<td rowspan=#>
Sets number of rows a cell should span (default=1)
Code:
<td nowrap>
Prevents the lines within a cell from being broken to fit
Frames
Code:
<frameset></frameset>
Replaces the <body> tag in a frames document; can also be nested in other framesets
Code:
<frameset rows="value,value">
Defines the rows within a frameset, using number in pixels, or percentage of width
Code:
<frameset cols="value,value">
Defines the columns within a frameset, using number in pixels, or percentage of width
Code:
<frame>
Defines a single frame — or region — within a frameset
Code:
<noframes></noframes>
Defines what will appear on browsers that don't support frames
Frames Attributes
Code:
<frame src="URL">
Specifies which HTML document should be displayed
Code:
<frame name="name">
Names the frame, or region, so it may be targeted by other frames
Code:
<frame marginwidth=#>
Defines the left and right margins for the frame; must be equal to or greater than 1
Code:
<frame marginheight=#>
Defines the top and bottom margins for the frame; must be equal to or greater than 1
Code:
<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.
Code:
<frame noresize>
Prevents the user from resizing a frame
Forms Note: For functional forms, you'll have to run a CGI script, such as FormMail, which can be found in our 'Downloads' section. The HTML just creates the appearance of a form.
Code:
<form></form>
Creates all forms (for help on forms read my article about creating web forms)
Code:
<select multiple name="NAME" size=?></select>
Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll.
Code:
<option>
Sets off each menu item
Code:
<select name="NAME"></select>
Creates a pulldown menu
Code:
<option>
Sets off each menu item
Code:
<textarea name="NAME" cols=40 rows=8></textarea>
Creates a text box area. Columns set the width; rows set the height.
Code:
<input type="checkbox" name="NAME">
Creates a checkbox. Text follows tag.
Code:
<input type="radio" name="NAME" value="x">
Creates a radio button. Text follows tag
Code:
<input type=text name="foo" size=20>
Creates a one-line text area. Size sets length, in characters.
Code:
<input type="submit" value="NAME">
Creates a Submit button which will send the data to your e-mail or a file.
Auto populates the SUBJECT field to whatever you specify. The "%20" just means a space.
« Last Edit: Mar 02, 2006, 04:26:54 PM by Red Matrix »
Bow before me, for I am member number 200!!!
Computer Avant Garde
Posts: 202
118 credits Members referred : 0
« Reply #6 on: Mar 17, 2006, 07:59:10 AM »
basically thats about it...
yeah, try adding Javascript, or php xD
dont even get started on C lol
Spam is yummy.
Gender:
Posts: 212
30 credits Members referred : 0
Nothing Last Forever...
« Reply #7 on: Mar 28, 2006, 10:29:43 AM »
I ve used csss couple of times but gor confused on the way... It started pretty nice... But, im not a programmer so i have no actual and precise idea of how these css work or why they do what they do or refuse to do!!!(happened also!)... Consider i forget closing tags most of the times!
...Even cold November Rain
Atari ST fan
Posts: 8
56 credits Members referred : 0
« Reply #8 on: Mar 29, 2006, 09:31:45 PM »
*puts this in my favorites list.
I can use this when Im looking for a code and dont feel like googling it
Bill Cosby is my Father
Gender:
Posts: 4
28 credits Members referred : 0
For every breath you inhale, remember to exhale.
« Reply #9 on: May 20, 2006, 07:02:15 AM »
Thanks for the quick tut in some html. I am just barely learning and this is helpful.
Where are my glasses?
Posts: 22
144 credits Members referred : 0
« Reply #10 on: May 31, 2006, 06:01:10 AM »
did you make that yourself its long. useful for quick ref though i have a book it has all that kinfd of stuff in it.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6280
38506 credits Members referred : 374
Yeah w3schools is a good and easy to use reference for html
I'll definately be spending a while on there, need to brush up on my php. Have started tinkering around with it, and find it extremely addictive! I see you must be somewhat a php guru Nikolas???
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7975
40807 credits Members referred : 3
Yeah w3schools is a good and easy to use reference for html
I'll definately be spending a while on there, need to brush up on my php. Have started tinkering around with it, and find it extremely addictive! I see you must be somewhat a php guru Nikolas???
I am not a guru, but I work with php for many years now