Thread target-Parameter in a-tag: HTML 4.01 strict konform? (25 answers)
Opened by Crian at 2004-01-07 23:38

Crian
 2004-01-10 20:30
#25451 #25451
User since
2003-08-04
5866 Artikel
ModeratorIn
[Homepage]
user image
Morgen = heute? Wieso bist Du armer Samstag im Büro? Naja so oder so Danke fürs Testen :)

Edit: Ich hab zum Testen mal eine "Minimaldatei" erstellt:

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>
<title>Test: HTML 4.01 strict und target im a-Tag</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>


<body>
<p><a href="http://www.thejway.de/" target="_top">Jan</a></p>
</body>
</html>


Hier das Ergebnis vom W3C-Validator:

Code: (dl )
1
2
3
4
5
6
7
8
This page is not Valid HTML 4.01 Strict!

Below are the results of attempting to parse this document with an SGML parser.

1. Line 13, column 47: there is no attribute "TARGET" (explain...).

<p><a href="http://www.thejway.de/" target="_top">Jan</a></p>
^
\n\n

<!--EDIT|Crian|1073759857-->
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite

View full thread target-Parameter in a-tag: HTML 4.01 strict konform?