Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - TARGET=_blank not in strict HTML....

 
Thread Tools Search this Thread
Old 12-23-2004, 11:12 PM   #1
Default TARGET=_blank not in strict HTML....


Hi Fakirs

Apparently in HMTL strict, you are not allowed to use <A HREF="..."
target=_blank, can anyone tell me what to do instead of target=_blank?

TIA

- Nicolaas





WindAndWaves
  Reply With Quote
Old 12-23-2004, 11:19 PM   #2
Mark Parnell
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

Previously in alt.html, WindAndWaves <> said:

> Hi Fakirs


Fakirs isn't in today. Will I do?

> Apparently in HMTL strict, you are not allowed to use <A HREF="..."
> target=_blank,


That's correct - the target attribute is not valid.

> can anyone tell me what to do instead of target=_blank?


Remove it.

--
Mark Parnell
http://www.clarkecomputers.com.au
  Reply With Quote
Old 12-24-2004, 02:33 AM   #3
Andy Dingley
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

On Fri, 24 Dec 2004 12:12:49 +1300, "WindAndWaves" <>
wrote:

>Apparently in HMTL strict, you are not allowed to use <A HREF="..."
>target=_blank, can anyone tell me what to do


Use the Transitional DTD instead.

Why do you need Strict ?


  Reply With Quote
Old 12-24-2004, 02:34 AM   #4
Neal
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

On Fri, 24 Dec 2004 12:12:49 +1300, WindAndWaves <> wrote:

> Hi Fakirs


If we're holy, it's more like holy ****.

> Apparently in HMTL strict, you are not allowed to use <A HREF="..."
> target=_blank,


Yeppers.

> can anyone tell me what to do instead of target=_blank?


1) Use transitional if the application absolutely requires a new window.

2) But the application doesn't require new windows in all likelihood, so
open in the same window. The user can always right-click and open the link
in a new window or tab if that benefits him.
  Reply With Quote
Old 12-24-2004, 02:50 AM   #5
Richard
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

WindAndWaves wrote:

> Hi Fakirs


Mr. Fakirs has moved. His new address is 1600 pennsylvania ave. Washington
D.C. A very large white house with a lot of land and a big iron gate around
it.



> Apparently in HMTL strict, you are not allowed to use <A HREF="..."
> target=_blank, can anyone tell me what to do instead of target=_blank?


> TIA


> - Nicolaas




  Reply With Quote
Old 12-24-2004, 03:14 AM   #6
Neal
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

On Thu, 23 Dec 2004 20:50:30 -0600, Richard <Anonymous@127.001> wrote:

> WindAndWaves wrote:
>
>> Hi Fakirs

>
> Mr. Fakirs has moved. His new address is 1600 pennsylvania ave.
> Washington
> D.C. A very large white house with a lot of land and a big iron gate
> around
> it.


No, no, you're thinking of Mr. Faker.
  Reply With Quote
Old 12-24-2004, 03:44 AM   #7
Karl Core
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....


"WindAndWaves" <> wrote in message
news:YkIyd.834$...
> Hi Fakirs
>
> Apparently in HMTL strict, you are not allowed to use <A HREF="..."
> target=_blank, can anyone tell me what to do instead of target=_blank?
>


Yeah, nothing. If the user wants a new window, let them open it.

http://karlcore.com/articles/article.php?id=25


--
-Karl Core
Please Support "Project Boneyard":
http://www.insurgence.net/info.aspx?...&item=boneyard


  Reply With Quote
Old 12-24-2004, 04:27 PM   #8
jake
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

In message <YkIyd.834$>, WindAndWaves
<> writes
>Hi Fakirs
>
>Apparently in HMTL strict, you are not allowed to use <A HREF="..."
>target=_blank, can anyone tell me what to do instead of target=_blank?
>
>TIA
>
>- Nicolaas
>
>
>

That's the way it is. If you're not too bothered, you could always
validate the page as 'transitional'.

However.

When I need to open a new window and still validate as 'strict' what I
do is use a piece of Javascript to set the target to "_blank" for the
link in question.

For your visitors with js enabled (that's probably 99% of them) the next
page will open in a new window; for those that don't have js enabled,
the next page will open in the current window.

I also use js to write a 'warning' that the next page will open in a new
window -- important for AT users. The user won't see (or hear) the
warning if js is not enabled.

Not a 100% solution, of course, but 99% suits me.

regards.

--
Jake

  Reply With Quote
Old 12-24-2004, 04:53 PM   #9
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

jake wrote:

> For your visitors with js enabled (that's probably 99% of them)


I'd guess it's probably closer to 10%.
http://www.w3schools.com/browsers/browsers_stats.asp

Numerous other pages show similar numbers.
http://accessat.c-net.us/articles/stats.html

--
-bts
-This space intentionally left blank.
  Reply With Quote
Old 12-24-2004, 09:03 PM   #10
Travis Newbury
 
Posts: n/a
Default Re: TARGET=_blank not in strict HTML....

In article <>, lid
says...
> jake wrote:
> > For your visitors with js enabled (that's probably 99% of them)

> I'd guess it's probably closer to 10%.
> http://www.w3schools.com/browsers/browsers_stats.asp


Whoa, guess you miss read that...

But also from the page:
"You cannot - as a web developer - rely only on statistics. Statistics
can often be misleading.

Global averages may not always be relevant to your web site. Different
sites attract different audiences. "

No way! Statistics can be misleading? And what the hell is all this
about different sites attracts different audiences. No f'in way!
Everybody goes to every site on the web in equal proportions...

--
-=*Tn*=-
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump