Jump to content


- - - - -

HTML Tags


  • You cannot reply to this topic
9 replies to this topic

#1 Joe

    Root Administrator

  • EC-Owner
  • PipPipPipPipPipPipPipPip
  • 393 posts

Posted 12 January 2008 - 10:45 AM

Please note that many of these results given because of these codes are often more likely made using .css If you wish to take a look at how CSS and HTML integrate together please visit our CSS Crash Course

Also, please note that with development of new browsers and internet software some of the following tags may not work with certain browsers, so be sure to check your results in multiple browsers.

<a href="http://www.yourwebsite.com">Appears</a>

This code is used to create a link to a url address.

<abbr title="et cetera">etc.</abbr>

This code is used for abbreviations and when you hold your mouse over the abbreviation it will appear as the title you have inserted; in this case you would see etc. and if you hold your mouse over it it would say et cetera.

<acronym title="World Wide Web">WWW</acronym>

This code is similar to the abbr tag except that instead of being an abbreviation you use it for acronyms. So when you hold your mouse over WWW you would see World Wide Web.

<address>Cinderella <br/> Box 123 <br/> Disneyland </address>

This code is used for addresses and often makes it appear in Italics The BR is where a new line starts.

<applet width="200px" height="100px"> </applet>
 
 Attributes
 
 align="left,right,top,bottom,middle,baseline,texttop,absmiddle,absbottom"
 alt="text"
 archive="URL"
 code="URL"
 codebase="URL"
 hspace="pixels"
 name="unique_name"
 object="name"
 title="text"
 vspace="pixels"

This code is used to embed a java applet into your website. The optional attributes should be placed inside of the
<applet>
tag.

<B>Jober68</B>

This will put whatever is enclosed inside of the tags bold

<bdo dir="rtl">This Text will appear Right to left</bdo>
 
 Attributes
 dir="rtl,ltr"

This is used to change the direction of the way the text appears based on the attribute applied. In the example above the output of hte code would read: sihT txeT lliw raeppa thgiR ot tfel

<bgsound src="song.mid" />

This is used to play a sound when a web page is loaded. (plays .midi files) Must be placed in header of the HTML.

<BIG>Increased Font Text</BIG>

This will increase the size of the font by 1. The max font size is 7.

<BLACKFACE>Double Bold Text</BLACKFACE>

This code will make the text appear Double bold.

<BLINK>This text will blink</BLINK>

Makes the selected text blink.



<BODY></BODY>

This is the Body of your HTML if you have a tag this will proceed it.

<BR/>

This code is for a linebreak. It would be just like hitting enter in a word document.

<CENTER></CENTER>

Centers Everything wrapped in the tags.

<!--This text is a comment-->

You can use this to insert comments into the HTML but the comment won't appear on the web page itself.

<DIV></DIV>

The div tag is similar to the BR tag except is often followed by an ID referring back to the css.

<EM></EM>

Puts Emphasis on the text inside of the tags.

<EMBED></EMBED>

The EMBED element lets you display output from a plug-in application. Often used for movies or sound, etc.

<FONT>This is the font that is changed!</FONT>
 
 
 
 Attributes
 Size="12"
 Face="times"
 color="red" or color="#ff0000"

This is used to change a word or words by chaning their size, color, or font type.


<H1>This is a heading</H1>

The H tags are used for a heading the lower the number (H1) the bigger the text. tags go from H1 - H6

<HEAD></HEAD>
 
 
 
 ELEMTENTS:
 BASE
 BASEFONT
 BGSOUND
 ISINDEX
 LINK
 META
 SCRIPT
 STYLE
 TITLE

The head tags is for describing the web page. This will not appear in the body of the browser as output

<HR>

This draws a horizontal line. Size and color as well as width can be added to this tag.

<HTML></HTML>

Used to contain HTML coding. Usually placed before the and after

<I></I> or [Italic] [/Italic]

The text wrapped in this code will appear italicized.

<IFRAME></IFRAME>

Creates a floating or inline frame. This is used to insert another webpage into a different web page. This forum is an example of an IFrame.

<ILAYER></ILAYER

Used to create several layers on a web page to reveal underlying layers.

<IMG>

Used to insert an image onto a web page.

<INPUT>

Used to insert information into a FORM such as check boxes and radio buttons.

<LABEL></LABEL>

Used to attach specific information to a field of a form.

<LAYER></LAYER>

Used to create several layers on a web page to revieal underlying layers through non occupied space.

<LEGEND></LEGEND>

Gives a caption for a group of related controls. This is created with a field set element.

<LI>

Used to put in a list. Used inside of tags.

<MAP></MAP>

Used to make a client-side image map.

<MARQUEE></MARQUEE>

Makes scrolling text.

<MENU></MENU>

Used for containing a list of menu items.

<META>

Used to contain info about the current document, placed in the tags.

<NOBR></NOBR>

Means NO line break forcing no line breaks for any text between the selected tags.

<NOEMBED></NOEMBED>

Forces browsers that can't show the tag to ignore tags

<NOFRAMES></NOFRAMES>

Forces browsers taht can't show Frames to ignore the tags.

<OBJECT></OBJECT>

Allows embedding of objects into a browser and removes the APPLET element.

<OPTION></OPTION>

This describes an option in a boxlist format.

<P></P>

Used to create a new paragraph. Some browsers will allow you to omit the closing tag.

<PARAM>

Used in a JAVA applet or some other object and only works in or elements

<PLAINTEXT></PLAINTEXT>

All HTML inside of these tags is shown as normal text therefore ignoring all other tags.

<PRE></PRE>

Shows preformated text as it is, using supplied whitespace as text.

<Q></Q>

Used to show quotations.

<S></S> or <STRIKE></STRIKE>

Used to strikethrough text.

<SAMP></SAMP>

Used to describe text output from a program.

<script></SCRIPT>

Allows programming inside of HTML by using a scripting language such as javascript.

<SELECT></SELECT>

Used to create an input list.

<SERVER></SERVER>

Used to create JavaScript which is executed on the server.

<SMALL></SMALL>

Used to make font smaller than normal.

<SPACER>

Used to create vertical, horizontal, or rectangular whitespace in a line.

<SPAN></SPAN>

Used to create a structure in a document by grabbing info from the CSS.

<STRONG></STRONG>

Rendered with Strong emphasis, Bold.

<STYLE></STYLE>

Used to grab information from a Style Sheet document.

<SUB></SUB>

Used to create a subscript with smaller font.

<SUP></SUP>

Used to create a superscript.

<TABLE></TABLE>

Used to create a table. By using for table rows and for cells inside of those rows and to create a header for the cells.

<TBODY></TBODY>

Used to define the table Body.

<TD></TD>

Used to create a cell inside of a row inside of a table.

<TEXTAREA></TEXTAREA>

Used to create a multiline text form. Only valid inside of FORM tags.

<TFOOT></TFOOT>

Used to define a table footer.

<TITLE></TITLE>

Used to define the title of a web page. Only valid inside of the tags

<TR></TR>

Creates a Row inside of a table.

<U></U>

Used to underline the text wrapped in these tags.

<UL></UL>

Creates an unnumbered list, replacing numbers with bullets.

<VAR></VAR>

Description of a metasynthetic variable, where the user is to replace the variable with a specific incidence.

<WBR></WBR>

Used to create a Word Bank

#2 Vinnie

    EC Sophmore

  • Members
  • PipPipPipPip
  • 90 posts

Posted 16 January 2008 - 09:27 PM

Thanks didn't get some of those tags before.

#3 Jesse

    EC Senior

  • Members
  • PipPipPipPipPipPip
  • 203 posts

Posted 16 January 2008 - 10:00 PM

Yeah, Jober68 is really a good coder ;)

#4 fire

    EC Newbie

  • Members
  • Pip
  • 2 posts

Posted 18 January 2008 - 02:18 AM

nice and fully html tuts.. thanks for sharing.

#5 Joe

    Root Administrator

  • EC-Owner
  • PipPipPipPipPipPipPipPip
  • 393 posts

Posted 18 January 2008 - 06:21 AM

if anyone would like to use this or any other of my tutorials on their website I have no problem with it as long as you follow these terms:

1) PM me with the website you are using it on.
2) Make sure you include that I wrote it and put a link back to exchangecore as the originally place it was written for.

#6 Swish

    EC Junior

  • Members
  • PipPipPipPipPip
  • 141 posts

Posted 18 January 2008 - 11:40 AM

thanks some good codes here, these will come in very handy

#7 Jesse

    EC Senior

  • Members
  • PipPipPipPipPipPip
  • 203 posts

Posted 27 January 2008 - 06:24 AM

I putted this tutorial on my blog, here: http://jesse.exchang...e.com/blog/?p=4

I included at the end jober68

check it out :D
please also put comment... hehe :P

#8 Tareq

    EC Newbie

  • Members
  • Pip
  • 9 posts

Posted 06 March 2008 - 03:31 AM

Nice tot. All is fine. But I have a single question.

What is the use of tag? Please give more with example.

#9 Joe

    Root Administrator

  • EC-Owner
  • PipPipPipPipPipPipPipPip
  • 393 posts

Posted 06 March 2008 - 05:17 AM

It's not really used since php has come about but lets say you wanted to insert a variable in your html that links back to a wordbank. Everytime you include that variable it will pull the entire wordbank down and put it in. Basically just something to shorten the code.

#10 Mitch

    EC Newbie

  • Members
  • Pip
  • 15 posts

Posted 11 April 2008 - 03:22 PM

<a href="http://www.yourwebsite.com">Appearas</a>


You can use this too.

<a href="http://www.yourwebsite.com" title=

"description of your site">Appearas</a>






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users