Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

HTML SANDBOX 2021

Posted on 10/01/2021 7:31:09 AM PDT by Hebrews 11:6


HTML SANDBOX 2021

We are so blessed by Jim and John Robinson, and by God through them, with this marvelous website. FreeRepublic has many capabilities you can use to refine your posts, to make your points more emphatically and dramatically.

Many posters have given us previous versions of this Sandbox, but since the most recent was in 2016, it's now well past time for another.

"HTML" is Hyper Text Markup Language, which can make your typing-text fancier and more useful. You supply invisible commands to produce remarkable effects. These commands are encased in left and right carets, like this: <command>.*

Before beginning, ALWAYS remember The Three Rules of HTML Posting:

1. PREVIEW! 2. PREVIEW! 3. PREVIEW!



CONTENTS
1. TEXT
2. FONTS
3. TEXT BLOCKS
4. LINKS/PICTURES/VIDEOS
5. TABLES


1. TEXT

Here are basic ON and OFF commands—note that each must be terminated with </command>.

Feature
What You Type
Result
BOLD
<B>my text</B>
my text
UNDERLINE
<U>my text</U>
my text
ITALIC
<i>my text</i>
my text
STRIKE
<S>my text</S>
my text
SUPERSCRIPT
<SUP>my text</SUP>
my text
SUBSCRIPT
<SUB>my text</SUB>
my text
You can combine these as you wish:
<B><U><I>my text</B></U></I> = my text


2. FONTS

A. FONT SIZES

We can choose from 7 sizes, 1-7:

<font size=1>my text</font> = my text
<font size=4>my text</font> = my text
<font size=7>my text</font> = my text
Special trick if you want text even tinier than Size 1: use Superscript, or Subscript; it wont align with adjacent text, but that won't matter if you give it its own line, like this.

B. FONT COLORS
We can choose from many, many colors.
The ON-OFF command is

<font color=my choice>my text</font color=my choice>

To choose a color, you have two options:

1. type in a common color name, like Red or Blue:
<font color=red>mytext</font color=red> = my text

OR

2. visit one of these websites, for a much larger variety:
HTML Color Codes
HTML Color Names
Either type in the color name or the code:
<font color=#01DF01>mytext</font color> = my text
If you plan on using these sites, I suggest you bookmark them NOW!


C. FONT FACES
We can choose from many, many font-faces. Here are several examples:
<font face=Broadway>My Text</font face=Broadway>=My Text

<font face=Chiller>My Text</font face=Chiller> = My Text

ALSO: Arial, Cooper Black, Courier, Forte, Georgia, Helvetica, Impact, Jokerman, Magneto, Mistral, Playbill, STENCIL

If you don't see what you want here, enter a Font Name from your Word Processor and then Preview to see if FR supports it.

3. TEXT BLOCKS

A. LINES

To force a new line, use the BREAK command: <BR>
Then, you'll be down here. All your active commands are unaffected.
To insert multiple lines, use multiple <BR>s.


B. PARAGRAPHS
To force a new line PLUS a blank line, use the PARAGRAPH command: <P>

Then, you'll be down here. Some active commands are terminated.


C. INDENTING
Four times already in this document I've indented blocks of text, using the <blockquote> command. Of course, its terminator is </blockquote>. I'll use it again here while I mention some fine-points:

1. Be aware that Blockquote also indents the Right margin.
2. You can use multiple Blockquotes simultaneously to narrow the text even more.
3. Don't forget to terminate your Blockquote(s).

D. CENTERING
To center your text: <center>my text</center>.


E. NUMBERING
To create a numbered list:
<OL>
<LI>first term
<LI>second term
<LI>third term
</OL>
Yields:
  1. first term
  2. second term
  3. third term


F. BULLETING
To create a bulleted list:
<UL>
<LI>first term
<LI>second term
<LI>third term
</UL>
Yields:
  • first term
  • second term
  • third term


G. SEPARATING
To separate blocks of text, install a Horizontal Rule, at the width, size (height) and alignment you specify:
<hr width="25%"> yields


<hr width="75%"> yields


Specify different heights (in pixels, not %) and alignment (left or center):
<hr width="50%" size="10" align="left"> yields


Fill in (with grey only) using NOSHADE:
<hr width="50%" size="10" NOSHADE> yields



4. LINKS, PICTURES & VIDEOS

A. LINKS

You can easily provide a link to another website. To do that, first copy that site's address, called its URL (Universal Resource Locater). The URL is that https//: address at the top of that site's window in your browser. (Whatever you link to must be a live internet site—sorry, you cannot link to your computer.)

Here is the link command:

<a href="URL">my text</a>

Your text is however you want to label your link—usually that website's name, but you're free to label it as you wish. Here is an example: I'll link to Bible Gateway's site, but I'll give it a different label.

<a href="https://www.biblegateway.com/passage/?search=Genesis+1&version=NIV">God's Good News</a>

which yields God's Good News


B. PICTURES
Posting pictures could not be any easier! (But, as for links, the picture must be somewhere on the internet, not on your hard drive. Image hosting sites can solve this for you.)

Here is the picture command:

<img src="Image Link"/>

Doesn't that look easy? There are just two minor things to keep in mind:

1. Right-click on the picture, click on "Copy Image Link", and then paste it into your command!
(Firefox and MS Edge call it "Image Link", but Brave calls it "image address".)

2. You will want to control your picture's width, as a percentage of the screen's width. Here's how:

To add a Width limit: <img src="Image Link" width="x%"/>

Here is Mount Rushmore:

<img src="https://a57.foxnews.com/a57.foxnews.com/static.foxnews.com/foxnews.com/content/uploads/2020/01/640/320/1862/1048/MountRushmore1.jpg?ve=1&tl=1?ve=1&tl=1" width="30%"/>

which yields



Now, let's increase it from 30% to 80%--and let's center it:



C. VIDEOS
Sorry, FR does not support embedding videos. The best we have are GIFs, those short videos which last several seconds and then repeat endlessly.


5. TABLES
FIRST, let's look at two exquisite examples:

This first example shows the traditional use of tables: displaying organized data. Obviously, it is a masterpiece.

This second example shows tables being used to achieve a stunning artistic effect. The poster has embedded tables within other tables and added text and pictures.

Did you notice above when I put two columns of text (E & F) side-by-side? That was a rudimentary table. The reason it does not look like a table is that I did not give it a border.

I don't really have anything to add to the 2016 Sandbox's discussion on tables. I just wanted you to know that tables can do more than merely presenting facts and figures, so I'll leave it at that.

By the way, that excellent Sandbox also discusses Footnotes extensively.

Finally, ALWAYS remember The Three Rules of HTML Posting:

1. PREVIEW! 2. PREVIEW! 3. PREVIEW!

(Yep, this is another table.)





* Throughout this document, I've used a special trick, which you should never need to use; but you'll wonder how I did it if I don't explain it. It involves the dozens of left-and right-carets (< and >) I showed.

If I were simply to type < and >, you would not see them, because HTML makes them invisible. So instead, I typed & lt; and & gt; WITHOUT THE SPACE AFTER THE &. Then, they become math symbols: "less than", lt, and "greater than", gt—and now HTML ignores them.

That leads to another point you may well use. I wondered how the previous Sandbox poster was able to show carets, so I investigated. While on the page I right-clicked and then clicked on "View Page Source." (I'm using Firefox, and your browser may use a different term.) Once I arrived at the Source, I navigated around until I saw how it was done. I've used that method previously to learn from others; in fact, that's how I learned about Tables.



TOPICS: Computers/Internet; Reference
KEYWORDS: 2021; freerepublic; html; htmlsandbox; nlz; sandbox
Navigation: use the links below to view more comments.
first previous 1-20 ... 221-240241-260261-280 ... 301-307 next last
To: ShadowAce
Done. Do you see anything? I see the question mark box. I’ll freepmail you the actual syntax I’m Posting.


241 posted on 07/26/2023 6:15:16 AM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 238 | View Replies]

To: Yo-Yo

Excellent idea. I switched to Brave from Safari, but no improvement.

I may try Firefox later. Thank you.


242 posted on 07/26/2023 6:16:45 AM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 239 | View Replies]

To: DoodleBob

I still see the same thing I saw in the previous post.


243 posted on 07/26/2023 6:23:14 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 241 | View Replies]

To: ShadowAce
Do you see a question mark in a box, or the gif? I see the question mark.

HERE WE GO…One more time. Thanks for your time.


244 posted on 07/26/2023 6:29:41 AM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 243 | View Replies]

To: DoodleBob
When properly formed <img src=""> with the correct URL address for the GIF showing Jennifer Lawrence:

https://media.tenor.com/images/87732ea95ee70a9fc4a48054d3db7339/tenor.gif

located between the quotation marks, and no spaces other than the single space between "img" and "src", then the GIF image displays - as in your reply 237.

But, the URL address for the image in your reply 241, is:

https://freerepublic.com/focus/chat/3999744/%E2%80%9C

And, the URL address for the image in your reply 244, is:

https://freerepublic.com/focus/chat/3999744/%E2%80%9Chttps://media.tenor.com/images/87732ea95ee70a9fc4a48054d3db7339/tenor.gif


245 posted on 07/26/2023 6:54:32 AM PDT by linMcHlp
[ Post Reply | Private Reply | To 244 | View Replies]

Comment #246 Removed by Moderator

To: DoodleBob
If you will download the text editor FRPFE in post #55, your problem evaporates. See the sample in post #142--notice "Image".
247 posted on 07/26/2023 7:14:49 AM PDT by Hebrews 11:6 (“It was full of large fish, 153, but even with so many the net was not torn. ” John 21:11)
[ Post Reply | Private Reply | To 234 | View Replies]

To: DoodleBob
A little error in my reply 246. Corrected:

Adding to, and attempting to clarify, my previous reply (245), when I right-click and copy the URL address for the image in your reply 241, what is copied, is the following:

https://freerepublic.com/focus/chat/3999744/%E2%80%9C

But, when I look at the RAW SOURCE for the whole webpage, and locate the HTML character string, the result:

<p><img src="“" />


248 posted on 07/26/2023 7:20:55 AM PDT by linMcHlp
[ Post Reply | Private Reply | View Replies]

To: linMcHlp; DoodleBob
I saw the same thing as linMcHlp.

<p><img src="“" />

I think that is due to someting I saw in a few private messages DoodleBob sent to me where he has an extra '"' in his img src tag:

<img src=“ “https://media.tenor.com/images/87732ea95ee70a9fc4a48054d3db7339/tenor.gif“>

249 posted on 07/26/2023 7:40:44 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 248 | View Replies]

To: ShadowAce; linMcHlp; Hebrews 11:6
Thanks for all your help. I saw the rookie error of double quotes. I cleaned it up, but still no luck. This still produces the question mark in a box.

I am going to try the editors that a few people recommended. I admit, I will miss hacking html code directly into FR.

250 posted on 07/26/2023 7:47:36 AM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 249 | View Replies]

To: DoodleBob
OK--Now I'm seeing the following:
<p><img src="“https://media.tenor.com/images/87732ea95ee70a9fc4a48054d3db7339/tenor.gif“"></p>

You have duplicate quotes in there now.

251 posted on 07/26/2023 7:51:52 AM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 250 | View Replies]

To: DoodleBob
Suggestion: https://www.textasticapp.com/

You need to verify what you believe to have copied . . . by using some text editor's text document window, into which you paste whatever is stored in the computing device Clipboard.

So far, some of what you are copying, sometimes includes characters that are effectively gremlins -- they do not display but cause an oddball space character to seem to have been entered.

The following URL address:

https://freerepublic.com/focus/chat/3999744/%E2%80%9Chttps://media.tenor.com/images/87732ea95ee70a9fc4a48054d3db7339/tenor.gif

for the image that you tried to post in your reply 244, includes a string of gremlins: %E2 %80 %9C

Those are ASCII characters that resolve to: â P œ

As used ("%E2%80%9C") in the above URL address, those unusual characters would cause a failure - your iPad Internet browser attempting to retrieve info from a server that fails to recognize the URL address sent from your browser.

252 posted on 07/26/2023 8:45:53 AM PDT by linMcHlp
[ Post Reply | Private Reply | To 250 | View Replies]

To: ShadowAce
Wow….I was able to examine the source code and indeed, you’re right. Manual typing on FR on this ipad causes a phantom “ to be added.

I manually typed the img src html code and did NOT add the double quote. Voila! For the wrong reason, I can now type out html code to post the gif.

Thanks. For now this will work. Butnits gonna bug me WHY thisnis happening.

253 posted on 07/26/2023 3:03:23 PM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 251 | View Replies]

To: linMcHlp
Thank you, too…if I don’t manually add the quotes, I can type out the html code and make it work.

Weird.

254 posted on 07/26/2023 3:16:20 PM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 252 | View Replies]

To: DoodleBob

Glad to see it’s working.


255 posted on 07/26/2023 3:50:51 PM PDT by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 253 | View Replies]

To: ShadowAce

Yes…but it is so weird.

I can’t tell if the problem is the iPad, or how the iPad via the browser interacts with FR.

It’ll bug me for a while, and I’ll keep searching. But I’m back to typing. Thanks again.


256 posted on 07/26/2023 4:03:36 PM PDT by DoodleBob (Gravity’s waiting period is about 9.8 m/s²)
[ Post Reply | Private Reply | To 255 | View Replies]

To: DoodleBob; ShadowAce

DB,

Wondering where the source is for the mysterious double-quotes . . .

Try the Clipboard Shredder app. It simply reveals what you have actually copied.

https://apps.apple.com/us/app/clipboard-shredder/id1501049129

- - -

If using Safari, you might

Go to Settings > Safari > Advanced > Experimental Features

then scroll all the way down to the bottom of the list and select: Reset All to Defaults

- - -

There is an HTML tag that inserts enclosing double-quotation marks:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q

https://css-tricks.com/quoting-in-html-quotations-citations-and-blockquotes/

- - -

Somewhere a substitution action occurs during the copy-and-then-paste activities . . . could be a character encoding issue.


257 posted on 07/26/2023 6:10:41 PM PDT by linMcHlp
[ Post Reply | Private Reply | To 256 | View Replies]

To: Hebrews 11:6

258 posted on 10/23/2023 9:05:23 AM PDT by Toespi
[ Post Reply | Private Reply | To 1 | View Replies]

To: Toespi

You don’t say....


259 posted on 10/23/2023 9:43:03 AM PDT by Hebrews 11:6 (“It was full of large fish, 153, but even with so many the net was not torn. ” John 21:11)
[ Post Reply | Private Reply | To 258 | View Replies]

To: Hebrews 11:6

HILARIOUS!


260 posted on 10/23/2023 9:48:43 AM PDT by Toespi
[ Post Reply | Private Reply | To 259 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 221-240241-260261-280 ... 301-307 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
General/Chat
Topics · Post Article

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