Website Help & HTML & Java Codes

My Joomla Notes   Full Joomla Manual here.   Color Wheel  Nice grey = #EDEDED

Border Maker   Speed of Site?   Free Hit Counter  For code to send tweets or with Twitter icon  Best MrBead.co.uk

To make image align at top of a cell enter code: <td valign="top">

Copy & Paste code into NotePad (NOT Word)

  1. How to Make a page open in a different window:

    Add target="_blank" as: <a href="http://www.fontstuff.com" target="_blank">Fontstuff</a> today!

  2. HTML for Bullets: <ul> <li> COPY </li>
    <li> COPY </li>
    <li> COPY </li>
    To end add </ul>

  3. How to put a border around a page or frame (replace # with own units):
    <html>
    <head>
    <title>Untitled Document</title>
    </head>
    <body bgcolor="#######" text="#######">
    <table cellspacing="0" cellpadding="0" border="#" color="#######">
    <tr>
    <td>your entire webpage here...</td>
    </tr>
    </table>
    </body>
    </html>

  4. Lists
    For Bullets use <UL> = for numbers use <OL>

  5. <ol>
    < li>text</li>
    < li>text</li>
    < li>text</li>
    </ol>
    Makes a numbered list using the default number type:
    1. text
    2. text
    3. text

  6. Adding Color to Your Tables

    This example shows how to add a background color for an entire table using generic values of color.

    HTML Code:

    <table bgcolor="lime" border="1"><tr>
    <td>A lime colored table background using color names.</td>
    </tr></table>
    
    <table bgcolor="#ff0000" border="1"><tr>
    <td>A red colored table background using hexadecimal values "#FF0000".</td>
    </tr></table>
    
    <table bgcolor="rgb(0, 0, 255)" border="1"><tr>
    <td>A blue colored table background using RGB values "rgb(0, 0, 255)".</td>
    </tr></table>
    

    Table Bgcolors:

    A lime colored table background using color names.
    A red colored table background using hexadecimal values "#FF0000".
    A blue colored table background using RGB values "rgb(0, 0, 255)".

  7. To "Bookmark this site" link:

    <script type="text/javascript">
    function addBookmark()
    {
    var bookmark_url="http://www.MrBead.com";
    var text_description="Some Web site";
    if (navigator.appName=="Microsoft Internet Explorer" && parseInt(navigator.appVersion) >= 4 &&
    navigator.platform.indexOf("Win") > -1 && navigator.appVersion.indexOf("SlimBrowser") < 0)

    {
    window.external.AddFavorite(bookmark_url,text_description);
    }

    else
    {
    alert("For PC users, press the Control (Ctrl) and \"D\" keys on your keyboard to bookmark this site.
    For Mac users, press the Command (Apple) and \"D\" keys on your keyboard.");
    location.href=self.location;
    window.location.reload();
    }

    }
    </script>
    </head>
    <body>
    <a href="javascript:addBookmark();">Bookmark this page</a>

    NOTE: Change site URL and description - + only work with Internet Explorer