Main Menu
Sub Menu
- Category Name
- Design How-Tos
- Category Created
- Thu, 22nd Feb 2007
- Last Article Update
- Tue, 28th Mar 2006
Design How-Tos
Showing the 22 Articles in this Category
- Can I use an image as a link?
- How do I add a mailto link?
- How do I add an image to my page?
- How do I add an MP3 to my webpage?
- How do I add background music to my site?
- How do I center my text?
- How do I change my font color?
- How do I change my font?
- How do I change my link color?
- How do I change my page's background color?
- How do I indent my text?
- How do I make links?
- How do I put video on my webpage?
- How do I remove the blue box from my image links?
- How do I stop people from stealing my images?
- How do I use page anchors?
- How to get a counter for your site
- Should I make my own backup of files?
- Website Building Software Applications
- What are some basic HTML codes?
- What are some other tags I can use in my links?
- What is safe to put on my website?
Can I use an image as a link?
<a href="page.html">
However, instead of text, we enter the HTML for our image;
<img src="image.jpg">
Then close our tag;
</a>
Put it all together;
<a href="page.html><img src="image.jpg"></a>
| View Full Article |
How do I add a mailto link?
If you're okay with spam (I know you're not, but let's just pretend), and want to put a mailto link on your page, here's how to do it:
<a href="mailto:myemail@myisp.com">E-mail me</a>
Replace the myemail@myisp.com with your email address, and you're all set to go. This will allow people to click this link, open an email to you in their default email program, and contact you directly.
| View Full Article |
How do I add an image to my page?
1) Having an image in your hosting account
2) Knowing the URL of your image
If you have an image uploaded, and know the URL, you'd want to use this code:
Replace "pathto/image.jpg", with the actual path to your image. If the image is uploaded to your root directory (with your other files), you'd just need to put the image name in the location. If the image is in your images directory, you'd want to include the images directory, as "images/image.jpg" otherwise, the HTML will be incorrect, and not display properly.
| View Full Article |
How do I add an MP3 to my webpage?
MP3's are blocked by our interstitial page. They cannot be used remotely (on MySpace, Xanga, LiveJournal, or any other site), nor can they be embedded into a page to be used as a background sound. They must be downloaded directly from your page.
If we receive notice that a member is using illegal MP3's (copyrighted material that the member does not own) we will take the site down. The member will not receive notice that we are doing this nor will we give the files back. There is a chance to appeal, where we identify actual ownership of the files, and will restore the site if the member has ownership of the files and the mp3's on the site are legal.
To set up your MP3 file for download using a text link, follow these simple steps:
1) Upload your MP3 to your WebShell (Make sure there's no spaces in the file name, or it will not work correctly)
2) Open the HTML document you wish to have the download available on
3) Edit the HTML, and enter the following code: <a href="mp3name.mp3">download</a> Replacing the mp3name.mp3 with the name of your mp3 file, leaving the mp3 extension intact. Replace the word "download" with what you wish your text link to say.
To set up your MP3 file for download using an image link, follow these simple steps:
1) Upload your MP3 to your WebShell (Make sure there's no spaces in the file name, or it will not work correctly)
2) Open the HTML document you wish to have the download available on
3) Edit the HTML, and enter the following code: <a href="mp3name.mp3"><img src="imagename.jpg" border="0"></a> Replacing the mp3name.mp3 with your mp3's name, leaving the mp3 extension intact. Replace the "imagename" with the name of your image. This will give you an image that your users can click to download your mp3. The "border=0" code will take the border away from your image (by default this is blue, and set to 1)
| View Full Article |
How do I add background music to my site?
Before explaining the code behind this, there's a few things I must advise you of:
- Using a large file (an mp3, for example) may take upto an hour to load on a slower (dial up) connection. This is not optimal for use as background music.
- User a large file will also consume your bandwidth much faster than a smaller midi file.
- Using any material that does not belong to you, or that you do not have a valid copyright for, is against the law. Regardless if you're only using it as background music on your site, copyright laws are very clear in this aspect.
- From personal experience, if you are running a business website, that does not pertain to selling music, stay away from adding background music to your site. This may drive business away from your site, as customers do not expect music to be playing on a webpage, other than a "personal" page.
Please keep these things in mind when adding music to your site. We'd hate to see something legal happen due to your use of music on your site's pages.
If you do own the music you want to put on your site, and/or have the okay from the copyright holder, here is the code to do so:
<EMBED src="file.mid" autostart=true loop=false volume=100
hidden=true><NOEMBED><BGSOUND src="file.mid"></NOEMBED>
Replace the file.mid (in both spots), with your file's name, and extention.
This will automatically start the file, and play it once. If you want to have it repeat, change "loop=false", to "loop=true".
| View Full Article |
How do I center my text?
Before you write the text you want centered, simply add ;<center> your centered text, then close your tag, with </center>
This will center everything between the center and /center tags.
| View Full Article |
How do I change my font color?
It would look something like this: <body text="#FFFFFF">
This would set your entire document's font color to white. (#FFFFFF is the hex value for pure white, you could also enter the word white in, however this does not work on older browsers).
If you wanted to simply change a specific sentence to another color, you could use the code: <font color="#FFFFFF">My Text</font>
This would allow only the text before </font> to be displayed in the designated color.
| View Full Article |
How do I change my font?
Changing your font can be tricky. Not so much from a coding standpoint, but from a viewing standpoint.
The thing to remember about changing your font, is that if someone viewing your site doesn't have the font you choose installed on their computer, it will display as their browser's default.
So, if you set your font to "MySuperdupercustomfont", it won't display correctly for the user, and may turn out making the site look worse. Using "standard" fonts, such as Tahoma, Verdana, Arial, etc, work the best.
To change to something other than the dreaded Times New Roman default, use this:
<font face="arial">Your paragraph goes here</font>
Replace "arial" with whichever font you'd like to use.
| View Full Article |
How do I change my link color?
To change all of your links, there's three types that you need to know about:
1) link. This is the color of the link, when on your page, not doing anything, and not having been clicked.
2) vlink. (Visited Link) This is the color of a link on your page, that's already been clicked (or the page itself has already been visited)
3) alink. (Active link) This is the color of the link, once it's been clicked, while the page is waiting to transfer to the link itself. It is generally only seen for a short time, especially where broadband is so high in demand these days.
To change all of your links, you'd want to use that <body> tag again. It would look something like this:
<body link="#000000" vlink="#000000" alink="#000000">
This would set all of your links to black. (#000000 is the hex value for black) You can use any color you like, just do your best to match the overall color scheme of your site.
| View Full Article |
How do I change my page's background color?
Your code would look something similar to: <body bgcolor="#000000">
Your #000000 would be replaced with any hex value that you want the page's background color to be. #000000 is black, for our example.
| View Full Article |
How do I indent my text?
1) Add a handful of spaces to the first sentence of your paragraph using the ascii code for a space, which is &n b s p; (without the spaces between the letters. Obviously, if I took the spaces out, you wouldn't see the code)
2) Use the "blockquote" method, which I prefer. Using a <blockquote> tag, will add an indent to the entire paragraph that is in between the <blockquote> and </blockquote> tags.
If you want to indent the entire paragraph, this works great.
This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text. This is an example of blockquoted text.
| View Full Article |
How do I make links?
They're both coded differently.
For an internal link, all you generally need, is the page name:
<a href="page.html">What you want the link to say</a>
This will link from one page to another on your site. Obviously, there's a couple of things to replace in that code. You'd replace page.html with the actual page name (case sensitive) of yours, and "what you want the link to say", would be replaced with whatever it is you want to say on your page.
An external link is a little different. With an external link, you can't simply use the page name, you need what's known as a complete URL. This would be the entire URL of the page you want to link to.
For example; <a href="http://www.imdb.com" target=_blank > IMdB.com </a>
This code creates a link to IMdB.com, and does not do anything other than bring the link's clicker to the site designated.
| View Full Article |
How do I put video on my webpage?
With adding video to your page, you have two options to consider.
- Adding your video as a download to your page.
- Streaming the video from your page, to not require download.
Both will allow visitors to see your video. And which you use is entirely preference.
1) To add your video as a download, you'd simply want to place a link to it:
<a href="myvideo.mov">link text</a>
For this example, I used myvideo.mov (.mov is a Quicktime reliant file, however, any files can be used. .avi, .mpeg, etc)
2) To add your video, streaming, you'd need a bit more code:
<object width="320" height="260" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="mymovie.mov"> <param name="controller" value="true"> <param name="autoplay" value="true"> <!-- Backwards Compatibility --> <embed src="mymovie.mov" width="320" height="260" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/"> </embed> </object>
In this bit of code, you'd simply replace the instances of "mymovie.mov", with whatever your movie is called. It will play automatically on the page. You can also replace the width and height parameters, to make the movie more close to it's natural size. This will help with distortion reduction.
| View Full Article |
How do I remove the blue box from my image links?
And now, I know, so I'll share.
In your image link code, simply add border="0", so your code would look like this:
<a href="page.html><img src="image.jpg" border="0">
If you specify the border to equal zero, the HTML will display nothing, instead of the default blue border.
| View Full Article |
How do I stop people from stealing my images?
Regardless of what code you add to your page, or what right-click disable script you have. There's a way around it all.
If you really, absolutely, 100% do not want someone to steal your images, do not put them online, and do not email them.
If you want to deter someone with limited knowledge from stealing your images, you can use a Javascript No Right click script, of which there are approximately 1 billion (said with my best Dr. Evil impression) of them online. Search one out, and use whatever is best suited to your needs.
| View Full Article |
How do I use page anchors?
They can also be used to take someone back to the top of the page. I'm sure you've seen the "Back to Top" links on various websites.
A page anchor has two parts:
<a href="#name">link text</A> And <A name="name"></A>
The first part of the code would go where you want the link to be, generally at the top of the page. This will be the action part, that sends users down the page, when clicked.
The second part, you put where you want the visitor to end up on the page.
If using multiple page anchors on a page, you can change the "name" in the example to something else. For example, if using an alphabetical list of people, you could have an anchor for each letter.
Also, if you want to use the "Return to Top" option, on a long page, you needn't code an anchor in for that. Simply putting a link to # will bring a user back to the top of your page.
| View Full Article |
How to get a counter for your site
Without knowing any real programming knowledge, and simply copying and pasting, you can get a pretty decent (and free) counter for your site.
A few places I've personally used in the past (before I wrote my own) are:
http://www.sitemeter.com and http://www.statcounter.com
Both services offer a "free" version, which track different things. Check out their services, and see which one would work best for you.
| View Full Article |
Should I make my own backup of files?
I recommend making a backup copy of your site any time you make an update. This way, incase the unforseeable happens, and your site gets erased, lost, or needs to be moved to another server, you have a copy of the latest version.
You can learn about downloading your files via FTP, in the FTP Section of Tripod Help.
| View Full Article |
Website Building Software Applications
Please be advised that while we may recommend any of the above products, we cannot offer technical support for of them. Each company has their own, dedicated, support group that can assist you with their software.
| View Full Article |
What are some basic HTML codes?
target=_blank>www.webmonkey.com's HTMLCheatsheet)
Title
<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
<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)
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
| View Full Article |
What are some other tags I can use in my links?
Some other things that you can add to your link code, will make it do various things. Here's a few examples:
TITLE tag. The title tag will add a 'pop up' or sorts to your links. Move your mouse over this, for a working example. To use the title tag, you'd simply want to add: title="the text you want to show up", to your link. So, it would look like this:
TARGET tag. If you want to link to an external site, an important thing to keep in mind, is that you want people to stay on your site, but still be able to see another site. This is where the target tag comes into play. This will allow you to virtually open your links in a new window. By adding target="_blank" to your links, you can trigger them to open in a new window.
MOUSEOVER code. This is a bit tricky, but a little bit of javascript can help make one of my biggest pet peeves dissappear from a website. When you put your mouse over a link on a site, you can look down in the left corner of your browser, and see the URL of that link's destination. I'm not sure why, but I dislike this, a lot. So, adding a bit of javascript to your links, can make that say something else. Here's the code:
I realize the last bit of code, the javascript, may be a bit confusing, so I'll break it down, and explain what it all does (keep in mind that all of it is case sensitive):
onmouseover="window.status='text';return true - this bit of code tells your browser that when someone puts their mouse over your link (onmouseover), that you want the window status to display the text designated (window.status='text'), and to make sure it works (;return true)
onmouseout="window.status='';return true - this bit of code more or less does the same thing(s), only instead of telling what text to display when we take our mouse off the link (mouseout), we're telling it to display nothing (window.status='').
Keep in mind, there's probably a zillion more things you can do within your links, these are just a few examples.
| View Full Article |
What is safe to put on my website?
Putting your home address, name, school, birthdate, or email address online is never safe to do in a public place (regardless of what Tom at MySpace tells you).
The only time it would be safe to give out any personal information online, is when you're absolutely sure you know the person you're talking to, is someone you know.
It's never safe to give a stranger any information about yourself. This is not just for kids, but adults too. The more anonymous you are online, the safer you are.
| View Full Article |

Lycos Company Info | Lycos Privacy Policy | Lycos Terms of Service
Copyright © 2008 Lycos Inc. All Rights Reserved.
____________________________________________________________________________
Powered by DeskPRO v3.4.2
Copyright © 2001 - 2009, Headstart Solutions Ltd



