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 ... 81-100101-120121-140 ... 281-287 next last
To: Hebrews 11:6

I have been posting pictures without that slash right before the bracket. Or is it a sideways carat?


101 posted on 10/05/2021 9:20:13 AM PDT by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 97 | View Replies]

To: Kevmo
"/br": Don't know. I saw it while using "View Page Source" but didn't understand it.

Regarding no "/" while posting images: I too have noticed that FR is somewhat forgiving that way.

102 posted on 10/05/2021 9:48:45 AM PDT by Hebrews 11:6 (Watch "THE CHOSEN," about Jesus & the disciples He chose: https://watch.angelstudios.com/thechosen)
[ Post Reply | Private Reply | To 101 | View Replies]

To: Hebrews 11:6

While we’re at it, posting the width of pictures is a bit confusing.

“width=500” does not have to be in quotes. I notice that you’re now posting “width=50%” , which seems new and depends on the width of each picture, right?


103 posted on 10/05/2021 10:01:11 AM PDT by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 102 | View Replies]

To: Kevmo
If you specify width=500, you're producing an image exactly 500 pixels wide. A full computer screen is about 650. But many are using smaller screens, on phones and tablets, and bigger images get cropped.

Using "50%" or 90% avoids that by tailoring your image to every screen. It does not "depend on" the picture's width; rather, it fits the picture to the viewers' screens.

104 posted on 10/05/2021 10:27:22 AM PDT by Hebrews 11:6 (Watch "THE CHOSEN," about Jesus & the disciples He chose: https://watch.angelstudios.com/thechosen)
[ Post Reply | Private Reply | To 103 | View Replies]

To: Hebrews 11:6
Good to know. width=50%

Note that in Preview, this picture is still gigantic...

105 posted on 10/05/2021 10:31:09 AM PDT by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 104 | View Replies]

To: Kevmo

width = 10%

106 posted on 10/05/2021 10:34:00 AM PDT by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 105 | View Replies]

To: Kevmo

width = 75%

107 posted on 10/05/2021 10:35:28 AM PDT by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 106 | View Replies]

To: Kevmo

Practice makes perfect.


108 posted on 10/05/2021 10:37:25 AM PDT by Hebrews 11:6 (Watch "THE CHOSEN," about Jesus & the disciples He chose: https://watch.angelstudios.com/thechosen)
[ Post Reply | Private Reply | To 107 | View Replies]

Comment #109 Removed by Moderator

Comment #110 Removed by Moderator

To: Hebrews 11:6

Bkm


111 posted on 12/02/2021 9:16:22 AM PST by windsorknot
[ Post Reply | Private Reply | To 1 | View Replies]

To: Olog-hai
Trying your trick over here. Needs some more tweaking...

To post the “angle brackets” or less-than and greater-than symbols, the HTML code is

& lt and & gt; respectively, e.g. << img src="https://blahblahblah.com/img.jpg" <> That shows the format of the code without it turning into an actual link.

https://freerepublic.com/focus/bloggers/4017610/posts?page=22#22

112 posted on 12/02/2021 10:27:23 AM PST by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 111 | View Replies]

To: Kevmo; Chode

this works better

>img src=”https://www.whatfinger.com/wp-content/uploads/2021/11/saveamericatrump.png“<

turn the “>” to “<”


113 posted on 12/02/2021 10:30:08 AM PST by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 112 | View Replies]

To: Kevmo
Well, it’s not a trick, but there is some HTML blocking on this website. I had to change the font to make some of the codes display; &lt; would continue to display as < even after I put &amp; before it. Try switching to the courier font, which is not MS truetype.
114 posted on 12/02/2021 10:36:35 AM PST by Olog-hai ("No Republican, no matter how liberal, is going to woo a Democratic vote." -- Ronald Reagan, 1960)
[ Post Reply | Private Reply | To 112 | View Replies]

To: Kevmo

.


115 posted on 12/02/2021 11:24:07 AM PST by Chode (there is no fall back position, there's no rally point, there is no LZ... we're on our own. #FJB)
[ Post Reply | Private Reply | To 113 | View Replies]

Posting tables is extremely difficult. I used the *pre* command and reduced what the table said. It turns out that the *pre* command doesn't work on the thread posting itself, it only works when you're posting replies.
--------------------------------------------------------
Table 1 
Reducing the content of Pb and Pt isotopes in Pd after exposure in D plasma (ICP)*


Pb in Pd                 Pb204            Pb208
% Before exposure        1.51%           54.18%
% After exposure         6.29%           50.06%

----------------------------------------------------------

Table 2 
Reducing the content of Fe isotopes in Ni after processing in hydrogen plasma
 
Fe in Ni                Fe54         Fe56          Fe57
%Before exposure        6.55%       91.22%         2.23%
%After exposure        18.85%       79.56%         1.59%

Zn in Ni          Zn64      Zn66      Zn67      Zn68    Zn70
%Before exposure  46.9%    28.36%    4.34%     19.62%  0.71%
%After exposure   98.7%    0.32%     0.13%     0.80%   0.01%



116 posted on 12/06/2021 11:06:32 PM PST by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 115 | View Replies]

To: Hebrews 11:6

I had so much trouble posting these 2 tables from
http://ikkem.com/iccf23/orppt/ICCF23-OA-06%20Savvatimova.pdf

that I gave up.

Since you know tables so well, perhaps you could issue a few pointers?


117 posted on 12/07/2021 9:35:38 AM PST by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Kevmo
Be glad to try. The tricky part to me, and perhaps to you, is the first table where one column divides into two: that's simplicity itself in Excel but confounding in HTML. I might turn the first table into two tables.

Pb in Pd
204
206
207
208

Here's a start--took ten minutes. SPECIFICALLY, what troubled you?

Here are the angle-brackets replaced by parens for clarity:

(table border=1)
(tr)
(td width="200")(b)(i)Pb (/i)in (i)Pd(/td)
(td width="80")(b)(center)204(/td)
(td width="80")(b)(center)206(/td)
(td width="160")(b)(center)207(/td)
(td width="80")(b)(center)208(/td)
(/tr)
(/table)
To start a new row, add (tr) after the (/tr), then (td) etc.

118 posted on 12/07/2021 11:01:50 AM PST by Hebrews 11:6 (Watch "THE CHOSEN," about Jesus & the disciples He chose: https://watch.angelstudios.com/thechosen)
[ Post Reply | Private Reply | To 117 | View Replies]

To: Kevmo

The border was a single line in my Preview—don’t know offhand about that....


119 posted on 12/07/2021 11:04:26 AM PST by Hebrews 11:6 (Watch "THE CHOSEN," about Jesus & the disciples He chose: https://watch.angelstudios.com/thechosen)
[ Post Reply | Private Reply | To 118 | View Replies]

To: Hebrews 11:6

Thanks.

Tables are simply too much trouble in HTML.


120 posted on 12/07/2021 11:09:56 AM PST by Kevmo (I’m immune from Covid since I don’t watch TV.🤗)
[ Post Reply | Private Reply | To 118 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 81-100101-120121-140 ... 281-287 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