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

Skip to comments.

HTML Sandbox 2008
n/a | 5/31/08 | me

Posted on 05/31/2008 9:09:38 PM PDT by sig226

click here to read article


Navigation: use the links below to view more comments.
first previous 1-20 ... 101-120121-140141-160 ... 361 next last
To: sig226

121 posted on 10/20/2008 9:31:40 PM PDT by TheCause (Let the lord of the black land come forth...let justice be done upon him!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: sig226

Thank you.

~ Bookmark ~


122 posted on 10/20/2008 9:35:03 PM PDT by Liberty Valance (Keep a simple manner for a happy life ;o)
[ Post Reply | Private Reply | To 1 | View Replies]

.


123 posted on 10/30/2008 4:42:20 AM PDT by tiredoflaundry (Giants a 17-14 victory over New England . It's not over!)
[ Post Reply | Private Reply | To 122 | View Replies]

To: wastedyears
Just testing this for myself, I can't find the picture HTML in my mailbox.

124 posted on 11/17/2008 10:33:01 PM PST by wastedyears (Every FReeper is on Obama's Black List. He will try to have us all "taken care of." Mark my words)
[ Post Reply | Private Reply | To 1 | View Replies]

To: sig226

[IMG]http://i37.tinypic.com/1zgxk5c.jpg[/IMG]

Testing


125 posted on 11/19/2008 2:10:38 PM PST by Andy'smom
[ Post Reply | Private Reply | To 101 | View Replies]

To: sig226

[IMG]http://i37.tinypic.com/1zgxk5c.jpg[/IMG]

Testing


126 posted on 11/19/2008 2:10:41 PM PST by Andy'smom
[ Post Reply | Private Reply | To 101 | View Replies]

To: Andy'smom

Use the carats, under the K and L keys. The square brackets work on certain boards formatted for UBB code. Universal Bulletin Board code is an abbreviated version of HTML, a little easier to use, but it has limits and requires more software to operate it. It won’t work here.


127 posted on 11/22/2008 5:57:40 AM PST by sig226 (Obama '08 - No, You Can't.)
[ Post Reply | Private Reply | To 126 | View Replies]

To: sig226

Hello!!!!


128 posted on 12/22/2008 4:27:34 PM PST by gimme1ibertee (Sarahloution!!!!!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: sig226
From the HTML sandbox:
<img src="http://www.rushlimbaugh.com/home/daily/site_062807/content/01125113.Par.4584.ImageFile.jpg""height=218""width=285"></img>

There is a slight error in the explanation of the img tag. The img tag is an empty tag, so it does not take a closing tag. The </img> is an error. Also the quoting of height and width attributes is wrong.

The correct mark up for HTML is: <img src="http://www.rushlimbaugh.com/home/daily/site_062807/content/01125113.Par.4584.ImageFile.jpg" height="218" width="285">

The correct mark up for XHTML is:
<img src="http://www.rushlimbaugh.com/home/daily/site_062807/content/01125113.Par.4584.ImageFile.jpg" height="218" width="285" />

129 posted on 12/25/2008 1:10:59 PM PST by stripes1776 ("That if gold rust, what shall iron do?" --Chaucer)
[ Post Reply | Private Reply | To 1 | View Replies]

To: stripes1776

It works on this board, but I’ve had to close the img tag on some others. But it is interesting that in all the HTML books and websites I’ve read, none of them mentioned that the img tag can work without closing it. Thanks.


130 posted on 12/26/2008 5:46:11 AM PST by sig226 (1/21/12 . . . He's not my president . . . Impeach Obama . . . whatever)
[ Post Reply | Private Reply | To 129 | View Replies]

To: sig226
It works on this board, but I’ve had to close the img tag on some others. But it is interesting that in all the HTML books and websites I’ve read, none of them mentioned that the img tag can work without closing it. Thanks.

Here is the specification from the World Wide Web Consortium (W3C) on the image tag:

The img element is a void element. An img element must have a start tag but must not have an end tag.
The World Wide Web Consortium is the organization that develops the web standards. The director of W3C is Tim Berners-Lee who invented of the World Wide Web.

Newbies are always asking how to post images. This is difficult for them. Putting a closing tag for the image tag just complicates things unnecessarily for them. Besides, a closing image tag is just plain a mistake.

Also the quoting is wrong in the example on FR. As is, the quotes are around the attributes. Instead the pair of quotes needs to surround only the value of the attribute after the = sign. Here is the sample on FR:

"height=218""width=285"
The opening quote of each pair of quotes needs to be moved to just after the = sign as in the following:
height="218" width="285"
I think the the least FR could do is give newbies the correct web standard and syntax of HTML.
131 posted on 12/26/2008 1:15:03 PM PST by stripes1776 ("That if gold rust, what shall iron do?" --Chaucer)
[ Post Reply | Private Reply | To 130 | View Replies]

To: stripes1776
"The img element is a void element. An img element must have a start tag but must not have an end tag."

Now it's even more interesting. I've been closing the img tag for years and the internet hasn't blown up. I must have been doing it wrong.

132 posted on 12/28/2008 5:19:38 PM PST by sig226 (1/21/12 . . . He's not my president . . . Impeach Obama . . . whatever)
[ Post Reply | Private Reply | To 131 | View Replies]

To: sig226
Now it's even more interesting. I've been closing the img tag for years and the internet hasn't blown up. I must have been doing it wrong.

Well, you have not been following the HTML specification. I have been using HTML since 1995, and I have never used a closing tag for the img tag because it is an empty tag. There has never been a closing tag in the HTML specification for the img tag. That is true of some other tags as well such as the break <br> tag and the <meta> tag.

So what does a web browser like Internet Explorer do when you put in an ending tag that is not part of the HTML specification? Most likely, it will ignore it because that tag is not providing any useful information.

There are other tags like the paragraph tag <p> that require a closing tag </p>, but many authors leave it out. So what does the browser do? It infers from the next opening <p> tag that the previous paragraph should be closed.

My point is this: the HTML sandbox is for newbies. Why complicate things for them by showing a closing img tag that is not part of the HTML specification and certainly not required?

If you want to do extra work by writing an unnecessary closing tag, I think you should continue doing so. But I don't think you should burden a newbie with that.

133 posted on 12/28/2008 7:54:26 PM PST by stripes1776 ("That if gold rust, what shall iron do?" --Chaucer)
[ Post Reply | Private Reply | To 132 | View Replies]

To: stripes1776


134 posted on 12/28/2008 8:16:32 PM PST by az.b1bbomberfxr
[ Post Reply | Private Reply | To 133 | View Replies]

To: az.b1bbomberfxr



135 posted on 12/28/2008 8:37:50 PM PST by az.b1bbomberfxr
[ Post Reply | Private Reply | To 134 | View Replies]

To: sig226

b ttt for 2009


136 posted on 12/28/2008 8:48:01 PM PST by Professional Engineer (Green? I'm so green, I could barf.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: sig226

BTTT


137 posted on 02/07/2009 5:02:37 AM PST by orlop9
[ Post Reply | Private Reply | To 1 | View Replies]

To: sig226
TEST TEST TEST:

Is it easier to use

THIS

to increase font size or THIS instead?
138 posted on 02/10/2009 7:03:08 AM PST by ChrisInAR (The Tenth Amendment is still the Supreme Law of the Land, folks -- start enforcing it for a CHANGE!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ChrisInAR
How about THIS, size h0?


Or even

THIS

, size h1?


Or even

THIS

, size h2?


Or even

THIS

, size h3?


Or even

THIS

, size h4?


Or even
THIS
, size h5?


Or even
THIS
, size h6?


Or even
THIS
, size h7?


Or even
THIS
, size h8?



139 posted on 02/10/2009 7:19:51 AM PST by ChrisInAR (The Tenth Amendment is still the Supreme Law of the Land, folks -- start enforcing it for a CHANGE!)
[ Post Reply | Private Reply | To 138 | View Replies]

To: sig226; orlop9
Why am I unable to get the marquee to work?

I typed in < marquee > to start & < / marquee > to end the HTML (WITHOUT spaces, of course), which I thought FR's HTML Bootcamp said was the right way.

140 posted on 02/10/2009 7:29:42 AM PST by ChrisInAR (The Tenth Amendment is still the Supreme Law of the Land, folks -- start enforcing it for a CHANGE!)
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 101-120121-140141-160 ... 361 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