Skip to content

Instantly share code, notes, and snippets.

@wraithgar

wraithgar/html.txt

Created Feb 24, 2017
Embed
What would you like to do?
<!-- REMARK --> - Allows you to put in your own comments so that if you have
to come back later you can figure out what is going on. No one browsing your
Web page will see this unless they view the source.
Example:<!-- This text Cannot be seen by the user unless the source is viewed. -->
<A> - Allows you to anchor things such as a web page by using the following
<A HREF="Http://www.CompuCure.com">
Example:<A HREF="http://www.CompuCure.com">CompuCure</A>
<ABBREV> - Newer command that is coming out in the new HTML3.0 allows you to
abbreviate words on your web page automatically.
Example:<ABBREV>Some of the contained words will be abbreviated.</ABBREV>
<ACRONYM> - Like ABBREV also a new command that they are coming out with in
the newer version of HTML 3.0 displays the text's acronym you can also use
the dir command which will allow the text to go left to right or right to
left.
Example:<ACRONYM>Some of these words would be reduced to acronyms when
displayed</ACRONYM>
<ADDRESS> - Command usually that is used for a e-mail address.
Example:<ADDRESS>DrTech@CompuCure.com</ADDRESS>
<APPLET> - New command used with Netscape that allows you to implement a
Java application.
Example:<APPLET CODE="myapplet">Click here to see my Java applet.</APPLET>
View COOL FEATURES to see Java applets.
<AREA> - This will tell the browser were the user is able to click a portion
of a image. This allows you to have one image with multiple click able links
within it.
Example:
<AREA CORD="10,20,150,125"SHAPE=rect HREF="http://www.CompuCure.com">.
The CORD that is used in this example tells the computer where on the image
the location for the link is when your mouse is over that CORD then if clicked
it will go to the web page. the SHAPE tells the browser is able to click and
what type of shape the portion area is.
Example:
<:map name="menu";>
<AREA SHAPE=rect COORDS="100,5,155,55" HREF="http://www.CompuCure.com">
<map>
<img src="title.gif" usemap="#menu"><BR>
More info:The 100,5,155,55 are telling the browser were the link is 100 representing how far from the
left you want the link to start. 5 representing how far from the top you want the link to start. 155
representing how far from the right you want the link to end. 55 representing how far from the bottom you
want the link to end.
(On the below image move your mouse over the O and notice how that is the only link on the
image clicking on that O would take you to our main page.)
<B> - Tells the computer to bold the text within the tags.
Example:<B>This text would be in bold</B>
This text would be in bold
<BANNER> - New command coming out with HTML 3.0 used like scrolling text but does not scroll
with the rest of the HTML document.
Example:<BANNER>Welcome to CompuCure</BANNER>
Sorry currently not available.
<BASEFONT> - Tells the browser the new set for the font size can be 1 through 7. The default value is
3.
Example:<BASEFONT SIZE=2>
Preview not available to the fact changes all text below.
<BDO> - Tells the browser how to display the text for example using the DIR function you can make it
go left to right using DIR=ltr Example: <BDO DIR=ltr>Makes text go opposite way<bdo> this just
causes the text to go right to left, this tag is usually used for international purpose.
Example:<BDO DIR=ltr< This text would be going from the left to the right.</BDO>
This text would be going from the left to the right.
<BGSOUND> - Allows you to play your music on your web page with Internet Explorer, will not work
with people browsing with Netscape, you may also add the loop= statement to specify how many time
you wish the sound to play.
Example:<BGSOUND SRC=sounds.wav loop=1>
Example:<BGSOUND SRC=sounds.wav loop=infinite>
Preview not available due to the fact, we don't want you to have to listen to music while reading.
<BIG> - For the new HTML 3.0 allows your text to be BIG
Example:<BIG>This text would be big</BIG>
Sorry currently not available
<BLINK> - Command that should not have been invented allows your text to BLINK, used with
Netscape.
Example:<BLINK>This text would be blinking if compatible browser</BLINK>
This text would be blinking if compatible browser
<BLOCK QUOTE> - Command that allows you to indent your lines one inch from the left hand side.
Example:&lt;BLOCK QUOTE&gt; This would be one tab from the left hand side.&lt;/BLOCK
QUOTE&gt;
This would be one tab from the left hand side.
<BODY> - Hold's the body of your web page together. A common command that is used with this is
background which allows you to set the different backgrounds attributes of your web page such as an
image or a color, the below source makes the text black the links to other sights are going to be blue and
the background is going to be white. Please keep in mind that instead of doing the #fffffff for the
background color you can just type in white.
Example:<BODY TEXT="#092d07" LINK="#1FOOFF" BGCOLOR="#ffffff">
You are currently viewing what the first example looks like, source for this page
<BR> - Tells the browser that this is the end of the line and to start a new one.
Example:<BR>
<CENTER> - Tells the web browser to center the text.
Example:<CENTER>This text would center on the page.</CENTER>
This text would center on the page.
<CODE> - Tells the browser that you want to indicate code or a command and puts it in a different font.
Example:<CODE>dir - command used in DOS to list files.</CODE>
dir - command used in DOS to list files.
<DD> - Tells the browser that you are putting in a definition and it will intent the text.
Example:<DD>Definition goes here.</DD>
Definition goes here.
<EM> - Tells the browser that this is important text and it will make it emphasized.
Example:<EM>CompuCure</EM>
CompuCure
<EMBED> - For Netscape Navigator tells Netscape that there is a movie or sound clip or some special
embedded object on the web page. Example: <embed src="mydoc.dcr">
Example:<EMBED SRC="resume.doc">
<FONT> - Allows you to have multiple fonts colors and sizes.
Example1:<FONT size=+2>This text would be two times bigger</FONT>
Example2:<FONT COLOR="BLUE">This text would be blue.</FONT>
Example2:<FONT COLOR="RED">This text would be red.</FONT>
Example2:<FONT COLOR="YELLOW">This text would be yellow.</FONT>
Example2:<FONT COLOR="GREEN">This text would be green.</FONT>
This text would be blue.
This text would be red.
This text would be yellow.
This text would be green.
For more usable colors and information see our HTML COLOR page
<FORM> - Allows you to get input form people visiting your web page you can see a example of this by
viewing the source in my e-mail page.
<FRAME> - Netscape HTML extension which allows you to use frames on the web page being able to
make bigger and smaller each frame can contain different text. You can also use the <FRAMESET
command which is a replacement for the regular body command.>
Example:<FRAM SRC="http://www.CompuCure" SCROLLING="yes" NORESIZE>
Currently not ready, plans on making a page devoted to frames.
<H1-6> - Tells the browser how big you want the text <H1> being the biggest and <H6> being the
smallest.
Example:<H1>This text would be BIG.</H1>
Example:<H2>This text would be a little smaller.</H2>
Example:<H3>This text would be middle.</H3>
Example:<H4>This text would be about right.</H4>
Example:<H5>This text would be little bigger.</H5>
Example:<H6>This text would be spectacles to read.</H6>
This text would be BIG.
This text would be a little smaller.
This text would be middle.
This text would be about right.
This text would be kind of small.
This text you need to get your spectacles to read.
<HEAD> Allowing you to tell about the web page but this info will never be displayed when viewing
unless the source is viewed.
Example:<HEAD><TITLE>Look at the top of the page how it says HTML HELP, this is were you
specify the name you want the page to be.</TITLE></HEAD>
<HR> - Puts a normal bar across the screen to help separate the text.
Example:<HR>
Example:<HR width="50%">
Example:<HR size=10 width="50%">
<I> - Italicizes the text.
Example:<I>Italic Text</I>
Italic Text
<IMG> - Command to display images on the browser. which will display the NOC at the top of this
page. You can also use other people's Images on there web page (if that is ok with them.)
Example: <IMG SRC= "http://www.CompuCure.com/logo.gif">
<ISINDEX> New command coming out with HTML 3.0 allowing you to search.
Example:<ISINDEX>
This is a searchable index. Enter search keywords:
<LI> - Tells the browser that this is a list item (puts a bullet in front of text.
Example:<li>Listed item</li>
<MARQUEE> Used with Microsoft Internet Explorer to make your text scroll on the screen.
Example:<MARQUEE BEHAVIOR="scroll" DIRECTION ="left">CompuCure</MARQUEE>
Example:<MARQUEE BEHAVIOR="scroll" DIRECTION ="right"></MARQUEE>
Example:<MARQUEE BEHAVIOR="slide" DIRECTION ="left"></MARQUEE>
Example:<MARQUEE BEHAVIOR="alternate" ></MARQUEE>
Example:<MARQUEE BEHAVIOR="scroll" DIRECTION ="left" bgcolor="blue"></MARQUEE>
Example:<font color ="green"><MARQUEE BEHAVIOR="scroll" DIRECTION ="right"
></MARQUEE></font>
Example:<font color ="white"><MARQUEE BEHAVIOR="scroll" DIRECTION ="right"
bgcolor="red"></MARQUEE></font>
CompuCure
CompuCure
CompuCure
CompuCure
CompuCure
CompuCure
CompuCure
<META> Allowing you to tell some search engines what to display for your page and keywords for your
page.
Example1:<META NAME="DESCRIPTION" CONTENT="CompuCure getting your computer
questions answered fast, easy and free">
Example2:<META NAME="KEYWORDS" CONTENT="Computer, support, easy, free, html,
printers, windows95">
Example3:<META NAME="GENERATOR" CONTENT="Generated with HTMLEDIT, By
(NOC), 1997">
Preview not available due to the fact it needs to be in the body of this page.
<NOBR> - Tells the browser that you want to continue no matter how big the screen is without
breaking.
Example:<NOBR>This line would go on and not auto return so if the browser screen was not as long as
the sentence you would have to scroll to see the remainder of the screen.</NOBR>
This line would not wrap until you entered a break
<P> - Tells the browser that this is the end of the paragraph and will not attempt to word wrap it.
Example:<P>This is were your paragraph would begin and end.</P>
This is were your paragraph would begin and end
<PRE> - Tells the browser to do what you do as you type it so you can put text where you want it and
have as many spaces as you want.
Example:
<PRE>The Text Can l o o k how you want it to l oo k<</PRE>
The Text Can l o o k how you want it to l oo k
<SAMP> - Will enclose the text as a sample usually lower casing it and underlining it.
Example:<SAMP>This would be small and plain.<SAMP>
This would be small and plain.
<SELECT> - Select menu that allows their person viewing your web page to select from a menu.
Example:<SELECT NAME="list1"></SELECT>
Currently being updated
<STRONG> Putting the text bold.
Example:<STRONG>This text would get your attention</STRONG>
This text would get your attention
<SUB> - Makes the browser display text low.
Example:<SUB>This text would be below midway.<SUB>
This text would be bellow midway
<SUP> - Makes the browser display text high.
Example:<SUP>This text would be above midway.<SUP>
This text would be above midway
<TABLE> - Allows you to Align text in tables you can see a example of this on our Support page. How
you do this is start with <Table> and if you want borders just use the below commands.
Example:<TABLE ALIGN="center" border=1 cols=5 width=20
cellpadding=5>CompuCure</TABLE>
CompuCure
<TD> - Used to define each part of the table after you use the <TH> command.
Example:<TD ALIGN="center" WIDTH=20>Cell</TD>
<TEXT AREA> - Allows the user to input text.
Example:<TEXTAREA NAME="text" COLS=20 ROWS=20></TEXTAREA>
<TH> - This is what each cell on the table is using.You can make this contain as many cells as you need.
Example:<TH VALIGN="middle" WIDTH=50>Table header</TH>
Preview not available for the fact changes page layout
<TITLE> - This is used to label the page that your on. For example the name of this page is ONLINE
HELP -HTML-, Usually shown at the top of your screen.
Example:<TITLE>HTML HELP</TITLE>
Look on the top blue bar this is what the above would do.
<TR> - Tells the browser that this is the end of the horizontal column and to start the next column, you
can see this demonstrated on the support page.
Example:<TR><RD>Table contents</TD>
<TT> - Tells the browser that the font needs to be evenly spaced to occupy the full line.
Example:<TT>This would be displayed as teletype</TT>
This would be displayed as teletype
<XMP> - Tells the browser to do no formatting to this text just to display as is no matter what the size of
the screen is. Just like the <PRE> command.
Example:
<XMP>The test is were you want it to be!</XMP>
The text is were
you want it to be!
CompuCure Produced by NOC (http://www.compucure.com)
The cure for your computer needs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment