Autor Beitrag
Oliver M.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109
Erhaltene Danke: 1

Win 8 CP
VS 11 Beta
BeitragVerfasst: Sa 23.07.11 17:56 
Ich halte mich selber ja für dumm, aber im Quelltext von den CS- und Delphi-Forum Webseiten finde ich kein <html>, nur das </html>. Frisst mein Internet das nur, oder ist das wirklich so???

:suspect: :gruebel: :nixweiss: :?!?: :?: :? (Sehr verwirrt) :? :?: :?!?: :nixweiss: :gruebel: :suspect:
Dude566
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1592
Erhaltene Danke: 79

W8, W7 (Chrome, FF, IE)
Delphi XE2 Pro, Eclipse Juno, VS2012
BeitragVerfasst: Sa 23.07.11 18:21 
Steht doch oben der Doctype. ;)

_________________
Es gibt 10 Gruppen von Menschen: diejenigen, die das Binärsystem verstehen, und die anderen.
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Sa 23.07.11 18:33 
Stimmt, das <html> fehlt tatsächlich. Der Doctype ersetzt es ja nicht.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 23.07.11 18:55 
Komisch ist nur, dass der Validator des W3C das gar nicht als Fehler anzeigt. :shock:
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: Sa 23.07.11 18:57 
Anfang und Ende des HTML-Tags sind in HTML optional:
W3C:
7.3 The HTML element
Start tag: optional, End tag: optional


Hier auch die minimale Version.

Für diesen Beitrag haben gedankt: BenBE, Yogu
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 23.07.11 19:11 
Dass das an sich optional ist, ist klar, aber ich hätte nicht gedacht, dass es valide ist nur eins davon wegzulassen. :gruebel:
Regan
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 2157
Erhaltene Danke: 72


Java (Eclipse), Python (Sublimetext 3)
BeitragVerfasst: So 24.07.11 09:08 
Das ist sicherlich eine Methode von user profile iconChristian, Traffic zu sparen :zwinker:
Oliver M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109
Erhaltene Danke: 1

Win 8 CP
VS 11 Beta
BeitragVerfasst: So 24.07.11 22:48 
user profile iconRegan hat folgendes geschrieben Zum zitierten Posting springen:
Das ist sicherlich eine Methode von user profile iconChristian, Traffic zu sparen :zwinker:
Nahe liegend. Auf so eine gute Idee wäre ich nie gekommen. Sind 6 Byte Ersparnis, beim 6MB-Sek eine Nanosekunde Zeitersparnis. Kein Wunder das dieses Forum so schnell ist. :D
Boldar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1555
Erhaltene Danke: 70

Win7 Enterprise 64bit, Win XP SP2
Turbo Delphi
BeitragVerfasst: Mo 25.07.11 00:44 
Naja, das summiert sich halt auf... Wenn er das </html> auch weglassen würde, können wir vielleicht noch den Regenwald retten...
Oliver M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 109
Erhaltene Danke: 1

Win 8 CP
VS 11 Beta
BeitragVerfasst: Mi 27.07.11 11:57 
Hmm, wenn es nachgetragen wird, braucht der <html>-Tag noch irgend welche Parameter? Oder ist es besser wenn wir den </html>-Tag entsorgen? Ich bin für die erste Lösung :D