| Search Me! Lots of information is found in this board. You can also ask general questions here if you'd like! This is the last stop on Surmunity. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
|
[Article] HTML Cheat-Sheet
For those who aren't quite sure what code to write out or for those who just need a reminder on a code/tag they forgot. All of your HTML coding needs start here!
Basic HTML Page Structure/"Skeleton" Code:
<html> <head> <title>site's title goes here</title> </head> <body> Site's Content would go here... </body> </html> Tag: Code:
<a href="#">...</a> Description: this tag is used for anchors, but most commonly used to link text and images to other pages or websites with the href="URL" attribute. Tag: Code:
<b>...</b> Description: makes text appear larger than normal. this tag still works, however it is uncommonly used. stylesheets are a better alternative. Tag: Code:
<blockquote>...</blockquote> Description: encloses the content of a webpage Tag: Code:
<body>...</body> Description: encloses the content of a webpage Tag: Code:
<br>...</br> Description: inserts line break, causing the following text, images, elements ...etc to display on a new line. usually Tag: Code:
<button>...</button> Description: adds a button control to a form Tag: Code:
<center>...</center> Description: centers content found in between this code. Tag: Code:
<div>...</div> Description: encloses a section of content into its own layer. you can use attributes such as style to affect only the enclosed section, without affecting the rest of the page. Tag: Code:
<em>...</em> Description: for a special emphasis on text, most browsers will display this tag in italics. Tag: Code:
<head>...</head> Description: header information that describes the document, such as title. content found here will not be displayed when page is shown in a browser. Tag: Code:
<h1>...</h1> (1 = biggest 6 = smallest) Description: Called headline tags that are used to encase different heading types. there are 6 types with <h1> being most prominent to <h6> being less prominent Tag: Code:
<hr>...</hr> Description: creates a horizontal line, also referred to as a horizontal rule, commonly used as a divider for content Tag: Code:
<html>...</html> Description: encloses and executes all HTML tags in a document. Tag: Code:
<i>...</i> Description: changes text to appear italicized. Tag: Code:
<img>...</img> Description: displays an image on a page. Tag: Code:
<li>...</li> Description: changes text to appear italicized. Tag: Code:
<meta>...</meta> Description: defines metadata property for a document. you may use this tag more than once, but only within the <head> and </head> tags. Tag: Code:
<object>...</object> Description: place objects of a document in between these tags, like files, interactive programs, and other HTML documents. Tag: Code:
<ol>...</ol> Description: used for ordered lists that will appear in numerical order. each item is defined using <li> and </li> tags within the <ol> tags. Tag: Code:
<p>...</p> Description: creates a paragraph of text. instead of using breaks, this paragraph tag automativally sets space above and below. Tag: Code:
<s>...</s> Description: adds a strike(line) through text found in between this tag. Tag: Code:
<strong>...</strong> Description: adds emphasis to text. Like the <em> tag, this will often display bold text. Tag: Code:
<style>...</style> Description: determines stylesheet codes in the head of a document. Tag: Code:
<sub>...</sub> Description: text is subscripted. Tag: Code:
<sup>...</sup> Description: text is superscripted. Tag: Code:
<table>...</table> Description: organizes information into a table of rows and columns. Tag: Code:
<td>...</td> Description: information inside a table cell - rows, text, and/or other content. Tag: Code:
<textarea>...</textarea> Description: Creates an area on the page to show text or write text in Tag: Code:
<title>...</title> Description: type a title in between this tag to appear on a browser window's title bar. Tag: Code:
<tr>...</tr> Description: adds a row to a cell in a table. Tag: Code:
<u>...</u> Description: adds an underline to text. Tag: Code:
<ul>...</ul> Description: creates a list of unordered bullets, meaning the list will not be numbered or lettered in an orderly manner - instead, symbols such as a dot, circle or square will appear. More to come soon! |
|
|
|
|
|
#3 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
|
hehehe, yea I'm going to take that out too. I just figured people new to this world would want to know it. It's going to be on my CSS Cheat-Sheet!
![]() |
|
|
|