VoyForums
[ Show ]
Support VoyForums
[ Shrink ]
VoyForums Announcement: Programming and providing support for this service has been a labor of love since 1997. We are one of the few services online who values our users' privacy, and have never sold your information. We have even fought hard to defend your privacy in legal cases; however, we've done it with almost no financial support -- paying out of pocket to continue providing the service. Due to the issues imposed on us by advertisers, we also stopped hosting most ads on the forums many years ago. We hope you appreciate our efforts.

Show your support by donating any amount. (Note: We are still technically a for-profit company, so your contribution is not tax-deductible.) PayPal Acct: Feedback:

Donate to VoyForums (PayPal):

Login ] [ Contact Forum Admin ] [ Post a new message ] [ Search | Check update time ]


HTML: basic reference
Quick Reference Guide:

HTML Linking
<a href="http://URL here">Title Of Link</a>

non-breaking space. (moves forward one blank space).
&nbsp;

non-breaking space 5x (moves forward 5 spaces).
&emsp;

non-breaking space 1/2x (moves slightly forward )
&thinsp;

Break (moves to next line)
<br>

new Paragraph
<p>

Opening into new tabs. (the more simple method).
target="_blank"

Outer-Text can be added.
title="outer text here"

Links can now be opened in a New-Tab (and, Outer-Text can be added when dragging cursor over link).
target="_blank" title="outer text here"

The Complete linking code (with New-Tab feature & Outer-Text activated.)
<a href="http://URL here" target="_blank" title="outer text here" >Title Of Link</a>

⭐⭐⭐✪ This is how it would look when used in a completed example: ✪⭐⭐⭐
<a href="http://URL here" target="_blank" >Title Of Link</a>

this code also allows links to be opened in a New-Tab. (complex method)
 Onclick="window.open(this.href); return false"

Boldface words
<b> </b>

underline words
<u> </u>

script. (Signature)
<em> </em>

Typewriter Text
<tt></tt>

(Remember: whenever Copy / Pasting the 'New Tab' code,
either,
target="_blank"
or
 Onclick="window.open(this.href); return false"

.....don't forget that it's proper to include a space separation between attributes.


when using HTML, you can also write hidden comments.
In other words,
....you'll make a few quick messages which will NOT be visible on the browser.

Hence, the following code can be used whenever you wish to write personal notations:
<!-- write hidden comments here -->

--------------------------
when using CSS, the method differs:
--------------------------
✪☆⭐ (within your CSS code, here's the best method of writing hidden material:) ⭐☆ ✪

/* add personal notes here (visibly hidden) */

This allows you to write personal notes & connotations without corrupting the CSS.
So, its main function is to offer personal footnotes. While, at the same time, it basically serves no function.

the best part is, these invisible elements do not take up space


————
If you're not quite ready to release a paragraph or sentence,
you could always choose .hidden {display: none;} within your CSS,
then, just add the accompanying Class within your sentence:
<a href="http://www.amren.com/" target="_blank" class="hidden"> This will be hidden </a>

If you want to move forward several spaces, try this trick (courtesy of Ehow.com):

I want to add a huge break space......... So, here's a good method. COOL!
It's better than &nbsp;&nbsp&nbsp;&nbsp;&nbsp;


Of course, there are other methods which could be used,
....such as
<p hidden> hidden comment here </p>


finally; this is how I'm enclosing commands within a text-field.
<textarea rows="5" cols="66">
add text here. etc. etc.
</textarea>

(substitute the numbers in order to resize the field)
-adding the number of rows increases the height.[vertical]
-adding Columns widens the field [horizontally]

Please refer to Bottom-of-page for more complete tutorial



Here's a more complete tutorial:
First; Here's the most basic method of creating links, using HTML:

Let's give a more detailed version of the above code:

Here's a self-explanatory example:

(Of course) when using this code; only the word "Yahoo!" will be visible.
And, clicking the link will direct you to http://www.yahoo.com.

Next, you might want to enable your link to open in a new TAB.
The most commonly used method:

A newer and smoother method opening links in New Tabs is the following code:

(note: — whenever pasting this code, it's considered proper to include the blank space prior to each attribute.)

Don't Do this:
ahref="http://URL here"target="_blank"title="outer text here" >Title Of Link

It's considered proper to have space between attributes.

You can also add narrative text within each highlighted link. .....we'll call this the "Outer Text Method".
A title="outer text here"

(Once again; —it's considered correct to include an empty space prior to this code.)

Also consider using " " (quotations) instead of ' '.
This allows usage of these ' (apostrophe's) within your text.

Here's an example of the finished product:
Yahoo!

______________

So, the following code gives all these features:

Title Of Link

These methods can be used for most types of HTML and CSS!!!
.....here's an example of these features being applied to a CSS Button: Yahoo


The most basic commands of HTML are
(which begins a new line).
and
(which begins a new paragraph).


[Unfortunately; the alternative version of are sometimes used.]
This became very confusing for anyone attempting to learn Tag-lines.

Additional basic functions include breaking a space.
(although, this is becoming somewhat obsolete).
Also Note: — When copying&pasting the above code; please remove spaces.
So, it should display like this-  &nbsp;  


and, you can break 5 spaces, using the following code:
(Of course, when applying this code, there are no spaces). &emsp;  

When using basic HTML functions: always remember to enclose your Taglines.

For example: specific words can be made BOLD by using the following code:


Here's the finished product:  Specific words in Boldface, then, normal text.

This boldface uses the TAGS


In order to write words in Script;

This tagline (directly above) creates the following results:  write words in Script ,  then, proceed with normal text.


Words and Phrases can also be underlined:
Here's the visible product:     Underline any Phrase enclosed within these Tags, then, proceed with normal text.

So, this method of enclosing tags applies to virtually all forms of HTML (whether they are simple or complex).
It's necessary to enclose the tags. This enables your instruction to display correctly.

The IN order to    center a Paragraph (or, an entire page), use the tags: .
Write your material between these Center lines.
Apply The <center>   tag at the beginning.
and,finish with </center> when closing afterward.

for example:.

Now that you're familiar with Tags which surround content; this method applies to nearly every type of instruction.
for example:<body> </body>

Now, let's apply this to a more complex Code:

(You'll notice that each different tag is properly enclosed)
<div> </div>
<ul> </ul>
<li> </li>
This is the correct procedure.

You may now add the ability to open links in new tabs, and, add outer text

.....and, this completes your lesson in Basic HTML!

This material is using the T.E. Shannon Rebuild. All rights reserved.

R

[ Contact Forum Admin ]


Forum timezone: GMT-8
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2019 Voyager Info-Systems. All Rights Reserved.