Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

HTML Sandbox
Refreshed 1 July 03 | Various FReepers

Posted on 07/01/2003 9:34:44 AM PDT by TPartyType


Welcome Newcomers!

This Sandbox is devoted to giving you a place to practice basic HTML, and to get some coaching.


So, first things first:

Go to michigander's [ HTML Bootcamp (Cyber patriot training)] and learn there how to change font color, font size, font face, and the like.
THERE'S A WEALTH OF INFORMATION THERE NOT COVERED HERE (so as to avoid duplication).
Learn there also how to post a link and an image, then come back here to practice.

If you're having problems, folks will drop by occasionally to give you pointers and help you troubleshoot.


Boring posts are a crime . . .

So practice here first!


NEWCOMERS TIP: I just reread the FreeRepublic posting guidelines. They're worth a read by all newcomers [click here].


Following is an excellent previous post by Willie Green

But first, HTML advice from the FreeRepublic help page:

Basic HTML
The Free Republic forum uses standard HTML coding techniques. Use <p> to start new paragraphs. You may use <b> to begin bolding and <center> to center text, but please remember to end these items where appropriate with </b> and/or </center>, etc. If you post links or other advanced coding, be sure to test before posting.

Creating new paragraphs is about the only html that most posters ever need, but if you would like to learn more about html you may use any search engine on the internet to find tutorials. Simply search on "html tutorial". Here are links to a couple tutorials that I found:

The Basics

Paragraphs, Line Breaks and Horizontal Lines
A lengthy article or reply can be very tedious to read if it does not contain some very simple HTML formating. Inserting either of the following codes will make your post much more readable:


Character Formatting
Simple special effects may be created using Character Formatting Codes. These codes are used in pairs in the format: <?>words to be formatted</?>, where <?> turns the formatting "ON" and </?> turns the formating "OFF".

Please: ALWAYS turn "OFF" the formatting when you use it.

Some commonly used codes of this type are:

These codes can be "nested" to produce multiple effects at the same time. For instance:

<b><i>Bold and Italic</i></b> produces Bold and Italic


Links
The method for posting a HTML link is fairly simple. The following format is used:

<a HREF="URL">Link Description</a>

where "URL" is the URL address you want to link to (and you gotta use the double quotes), and Link Description is whatever you want to call your link. For example:

<a HREF="http://www.drudgereport.com/">Link to Drudge</a>

becomes Link to Drudge


And another from the same previous post:

<FONT COLOR="COLOR">Sample</FONT> produces colorful text.

"COLOR" is often a Hexidecimal Code for whatever Color you want, but color names are also supported.
Examples:

<FONT COLOR="blue">blue text</font> produces blue text

<FONT COLOR="red">red text</font> produces red text

<FONT COLOR="green">green text</font> produces green text


To: foolproof formatting

Here is an easy way to REMEMBER TO TURN OFF THE FORMATTING.

To be sure I turn off the formatting I TYPE THE "OFF" COMMAND AT THE SAME TIME AS THE "ON" COMMAND.

An example:
I want to respond to a line in a post by another brilliant Freeper.
I type < I >""< /I >< BR>
I then "cut and paste" his remarks between the quotes:
< i>" You are a poopy head "< /I>< BR>
And type my equally brilliant response: "No, you're a poopy head!"
The result:

"You are a poopy head"
No, you're a poopy head!

It's very easy to forget to turn off your formatting!
Yes it is!


To: ftrader, deport

Actually, the <ul> tag is for a bulleted list and stands for unordered list. The missing part is the list item tag (<li>) Here's an example:

<ul>
<li>List item #1
<li>List item #2
<li>List item #3
</ul>

Would display:


Finally . . .

Here's the link for [Webmonkey] (a super HTML training site).


Click here for previous HTML Sandbox thread.



TOPICS: Free Republic; Miscellaneous
KEYWORDS: bootcamp; faq; html; htmlbootcamp; learn; newbies; pl; practice; sandbox
Navigation: use the links below to view more comments.
first previous 1-20 ... 241-260261-280281-300 ... 1,141-1,155 next last
To: Diddle E. Squat
A great way to do that is to use a table:

Hello

Here is how:

<table><td bgcolor="red">Hello</td></table>

*The table may be a little funky to work with though - tables are extremely powerful but also a little tricky...lots of tags to be closed.

More Examples:

This one has a border

Different Border 2 Columns
AND... 2 Rows

Gum

261 posted on 08/09/2003 9:50:39 AM PDT by ChewedGum ( http://king-of-fools.blogspot.com)
[ Post Reply | Private Reply | To 258 | View Replies]

To: ChewedGum
Thanks. I was about to post "uncle".
262 posted on 08/09/2003 9:51:19 AM PDT by Diddle E. Squat
[ Post Reply | Private Reply | To 261 | View Replies]

To: Diddle E. Squat
BTW - if you want to just colorize one word in the middle of a sentence, I'm not really sure how to do that. I know how to do is with a style sheet, but you cannot define your style inside the body of the html document so that rules out doing that when posting on FR. You can do it with a table if you are only interested in colorizing the beginning of the sentence (by playing a align=left in the table tag):

This
is a test.

It doesn't look that good though and it very tricky to do (forgetting the paragraph tag in the prior paragraph will put the after text on the paragraph before the table.)

I tried to use an inline style (a CSS cheat), but cannot get that to work in a FR post either. Sorry!

Gum

263 posted on 08/09/2003 10:19:03 AM PDT by ChewedGum ( http://king-of-fools.blogspot.com)
[ Post Reply | Private Reply | To 260 | View Replies]

To: ChewedGum
Yeah, I've run into all kinds of troubles and found that the solutions in all the other HTML threads do not work anymore, but your table suggestion worked perfectly for what I was trying to do. Thanks again.
264 posted on 08/09/2003 10:26:20 AM PDT by Diddle E. Squat
[ Post Reply | Private Reply | To 263 | View Replies]

To: ChewedGum
<TR> and </TR> missing?
265 posted on 08/09/2003 1:21:18 PM PDT by Consort
[ Post Reply | Private Reply | To 261 | View Replies]

If the versatile <span> tag were allowed here, it would do the same thing and a lot more.

<span style="color:red">This</span> is a test. =

This
is a test.
266 posted on 08/09/2003 1:45:07 PM PDT by Consort
[ Post Reply | Private Reply | To 265 | View Replies]

To: Consort
Oops. "table" equivalent error.
267 posted on 08/09/2003 1:49:39 PM PDT by Consort
[ Post Reply | Private Reply | To 266 | View Replies]

To: Consort
<TR> and </TR> are optional if your table only contains a single row. It is better to use them, I agree, but let's not make things too complicated for newbies.

Gum

268 posted on 08/09/2003 2:23:46 PM PDT by ChewedGum ( http://king-of-fools.blogspot.com)
[ Post Reply | Private Reply | To 265 | View Replies]

To: Consort
And I agree...span would be very useful in the forum. I am curious why it is not supported...any ideas?

Gum

269 posted on 08/09/2003 2:24:35 PM PDT by ChewedGum ( http://king-of-fools.blogspot.com)
[ Post Reply | Private Reply | To 266 | View Replies]

To: ChewedGum
Span used to work here at one time. It must have caused complications.
270 posted on 08/09/2003 2:30:52 PM PDT by Consort
[ Post Reply | Private Reply | To 269 | View Replies]

To: ChewedGum
test

271 posted on 08/14/2003 1:07:05 AM PDT by tictoc
[ Post Reply | Private Reply | To 261 | View Replies]

To: tictoc
Different   backgrounds
and different   font colors

272 posted on 08/14/2003 1:40:23 AM PDT by tictoc
[ Post Reply | Private Reply | To 271 | View Replies]

To: TPartyType
bump
273 posted on 08/14/2003 1:58:56 AM PDT by GOPJ
[ Post Reply | Private Reply | To 1 | View Replies]

To: TPartyType
"Testing one two Testing one two"
275 posted on 08/15/2003 9:24:34 AM PDT by Edit35
[ Post Reply | Private Reply | To 1 | View Replies]

To: TPartyType
just trying to figure out why this isn't showing on another thread


276 posted on 08/17/2003 9:30:32 AM PDT by putupon (Only read headlines and captions, it keeps your head from getting too fat.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: putupon
just trying to figure out why this isn't showing on another thread

Maybe the filename -- I believe there's no ".jpg" on your image's name.

You can do exactly what you did, but leave off the extension in the "img" link.

Mo' bettah, though, would be to rename the file with the extension, since it appears to be your own storage it's coming from.

That will make your image appear, and mine "go away" for later viewers (you'll have to Refresh after renaming the file to see it). The added benefit is that the thread where you originally tried will also begin to show the image...

277 posted on 08/17/2003 9:45:07 AM PDT by umbagi (Will code for food -- C++, C, C#, Java, Delphi, Perl, PHP. God Bless!)
[ Post Reply | Private Reply | To 276 | View Replies]

To: umbagi
thanks. i'll have to think about this twist. where i'm storing these things is supposed and always up 'till now put them in correct format as far as the .jpg was concerned.
278 posted on 08/17/2003 10:02:46 AM PDT by putupon (Only read headlines and captions, it keeps your head from getting too fat.)
[ Post Reply | Private Reply | To 277 | View Replies]

To: putupon
thanks. i'll have to think about this twist. where i'm storing these things is supposed and always up 'till now put them in correct format as far as the .jpg was concerned.

I don't see the same with this new one -- I can't find it at all.

279 posted on 08/17/2003 10:08:01 AM PDT by umbagi (Will code for food -- C++, C, C#, Java, Delphi, Perl, PHP. God Bless!)
[ Post Reply | Private Reply | To 278 | View Replies]

To: umbagi
weird, mine are showing everywhere now. maybe my pics host was down or something.
280 posted on 08/17/2003 10:13:16 AM PDT by putupon (Only read headlines and captions, it keeps your head from getting too fat.)
[ Post Reply | Private Reply | To 279 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 241-260261-280281-300 ... 1,141-1,155 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson