Trying to figure out HREF

Larry NCKS

Well-known Member
<a href="http://www.lincolnclutch.com/">Lincoln Clutch & Brake</a>

Why does this work in classic view, but not modern view?
 
I don't know why, but the modern view post editor doesn't use normal html code. Instead it uses older Bulletin Board style code to edit your post, which uses square brackets instead of greater than and less than symbols to surround tags, and it doesn't use the "a" at the beginning for URL's either. So to get regular html code like this:

<a href="http://www.lincolnclutch.com/">Lincoln Clutch & Brake</a>

You would need to type in this:

Lincoln Clutch & Brake

I checked the box below the editing area that says "Disable BBCode in this post" to get it to display the raw code instead of the actual link.
 
(quoted from post at 09:30:38 12/05/17) I don't know why, but the modern view post editor doesn't use normal html code. Instead it uses older Bulletin Board style code to edit your post, which uses square brackets instead of greater than and less than symbols to surround tags, and it doesn't use the "a" at the beginning for URL's either. So to get regular html code like this:

<a href="http://www.lincolnclutch.com/">Lincoln Clutch & Brake</a>

You would need to type in this:

Lincoln Clutch & Brake

I checked the box below the editing area that says "Disable BBCode in this post" to get it to display the raw code instead of the actual link.

This response is being typed using Modern View with BBCODE enabled. HTML and HTTP were both invented by Hans Berner Lee in 1989 and they predate BBCODE by almost a decade. HTML/HTTP are the underlying markup language/transport protocol used by the WWW. BBCODE is a greatly simplified version of HTML that was invented around 1998 to make it easier for less sophisticated users to format HTML content. Rgardles of whtehr you are using Modern or Classic View to compose a message everything the YT server sends to your browser for rendering is done using HTML

The Modern View editor uses a BBCODE pre-processor that accepts BBCODE as input and rewrites it as HTML for your browser to render. Modern View also "escapes" any raw HTML in your input to make it appear as plain text when rendered by your browser.

Classic View does not use a pre-processor. It accepts raw HTML as input and passes it directly through to the output. In Classic View BBCODE translation is always disabled and BBCODE tags are treated as plain text and passed straight through to the output.

In Modern View you can dynamically control BBCODE translation with the CODE tag. It turns translation of BBCODE tags on and off in the middle of your input.

CODE Example:

[code:1:8d71d59a2f]
This section of my post is wrapped in [code]...[/code] tags which disables BBCODE translation for everything inside the tags. Here is your untranslated [URL]...[/URL] example.

[url=http://www.lincolnclutch.com/]Lincoln Clutch & Brake[/url]
[/code:1:8d71d59a2f]

[u:8d71d59a2f]After the
Code:
 section is processed BBCODE input translation is turned back on and this input was typed using BBCODE  [U] tags to format the text.[/u:8d71d59a2f]

TOH
 
This response is being typed using Modern View with BBCODE enabled. HTML and HTTP were both invented by Hans Berner Lee in 1989 and they predate BBCODE by almost a decade. HTML/HTTP are the underlying markup language/transport protocol used by the WWW. BBCODE is a greatly simplified version of HTML that was invented around 1998 to make it easier for less sophisticated users to format HTML content. Rgardles of whtehr you are using Modern or Classic View to compose a message everything the YT server sends to your browser for rendering is done using HTML

The Modern View editor uses a BBCODE pre-processor that accepts BBCODE as input and rewrites it as HTML for your browser to render. Modern View also "escapes" any raw HTML in your input to make it appear as plain text when rendered by your browser.

Classic View does not use a pre-processor. It accepts raw HTML as input and passes it directly through to the output. In Classic View BBCODE translation is always disabled and BBCODE tags are treated as plain text and passed straight through to the output.

In Modern View you can dynamically control BBCODE translation with the CODE tag. It turns translation of BBCODE tags on and off in the middle of your input.

CODE Example:

[code:1:d91c99b81c]
This section of my post is wrapped in [code]...[/code] tags which disables BBCODE translation for everything inside the tags. Here is your untranslated [URL]...[/URL] example.

[url=http://www.lincolnclutch.com/]Lincoln Clutch & Brake[/url]
[/code:1:d91c99b81c]

[u:d91c99b81c]After the
Code:
 section is processed BBCODE input translation is turned back on and this input was typed using BBCODE  [U] tags to format the text.[/u:d91c99b81c]

TOH[/quote]Thanks, but I like Sean's explanation a whole lot better. It's much simpler, and as you can see  it does work.
 
Let's try this one. Sure wish they'd turn the edit feature back on!
This response is being typed using Modern View with BBCODE enabled. HTML and HTTP were both invented by Hans Berner Lee in 1989 and they predate BBCODE by almost a decade. HTML/HTTP are the underlying markup language/transport protocol used by the WWW. BBCODE is a greatly simplified version of HTML that was invented around 1998 to make it easier for less sophisticated users to format HTML content. Rgardles of whtehr you are using Modern or Classic View to compose a message everything the YT server sends to your browser for rendering is done using HTML

The Modern View editor uses a BBCODE pre-processor that accepts BBCODE as input and rewrites it as HTML for your browser to render. Modern View also "escapes" any raw HTML in your input to make it appear as plain text when rendered by your browser.

Classic View does not use a pre-processor. It accepts raw HTML as input and passes it directly through to the output. In Classic View BBCODE translation is always disabled and BBCODE tags are treated as plain text and passed straight through to the output.

In Modern View you can dynamically control BBCODE translation with the CODE tag. It turns translation of BBCODE tags on and off in the middle of your input.

CODE Example:

[code:1:541617e9e2]
This section of my post is wrapped in [code]...[/code] tags which disables BBCODE translation for everything inside the tags. Here is your untranslated [URL]...[/URL] example.

[url=http://www.lincolnclutch.com/]Lincoln Clutch & Brake[/url]
[/code:1:541617e9e2]

[u:541617e9e2]After the
Code:
 section is processed BBCODE input translation is turned back on and this input was typed using BBCODE  [U] tags to format the text.[/u:541617e9e2]

TOH[/quote]
Thanks, but I like Sean's explanation a whole lot better. It's much simpler, and as you can see  it does work.[/quote]
 
It's even easier if you simply use the buttons above the text editing box. Click on the button that says URL and it will automatically put the opening tag in the text box for you:

Then type in your URL and click the "Close tags" link and it inserts the closing tag:

And the result will look like this

http://my-link-url.com/whatever

If you don't want the actual link url to show up, then insert an = sign inside the closing bracket of the opening tag and put the link url after the equal sign and then put whatever text that you want displayed between the tags, like this.

Here's a description of my url

Older browsers display links in a different color with an underline, but most modern browsers don't automatically display the underline, so I usually add one. To do that just highlight the entire link, including the opening and closing tags, and then click on the button with the underlined "u" above the editing box. The result will look like this:

Here's a description of my url
 
Here's what my last post looks ike with the BBCode enabled:

It's even easier if you simply use the buttons above the text editing box. Click on the button that says URL and it will automatically put the opening tag in the text box for you:

Then type in your URL and click the "Close tags" link and it inserts the closing tag:

And the result will look like this

http://my-link-url.com/whatever

If you don't want the actual link url to show up, then insert an = sign inside the closing bracket of the opening tag and put the link url after the equal sign and then put whatever text that you want displayed between the tags, like this.

Here's a description of my url

Older browsers display links in a different color with an underline, but most modern browsers don't automatically display the underline, so I usually add one. To do that just highlight the entire link, including the opening and closing tags, and then click on the button with the underlined "u" above the editing box. The result will look like this:

[u:d7d18284b4]Here's a description of my url[/u:d7d18284b4]
 
(quoted from post at 22:38:24 12/05/17)
Thanks, but I like Sean's explanation a whole lot better. It's much simpler, and as you can see it does work.

The answer to "why" something behaves in a specific way is almost always more complex than an explanation of "how" to do something. Click on the BBCODE button at the bottom left of the [b:ff55bd1824]Post a reply[/b:ff55bd1824] window (under the [b:ff55bd1824]Options[/b:ff55bd1824] heading) and you will get a HELP page showing "how" to do links and a lot of other things in BBCODE ;-)

TOH
 

We sell tractor parts! We have the parts you need to repair your tractor - the right parts. Our low prices and years of research make us your best choice when you need parts. Shop Online Today.

Back
Top