Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > ger.ct > #579214

Re: HTML5

From Hermann Riemann <nospam.ng@hermann-riemann.de>
Newsgroups ger.ct
Subject Re: HTML5
Date 2022-12-25 14:42 +0100
Message-ID <k0r29lFd4vlU1@mid.individual.net> (permalink)
References <HTML5-20221224165305@ram.dialup.fu-berlin.de> <k0qpr3Fbh09U1@mid.individual.net>

Show all headers | View raw


Am 25.12.22 um 12:17 schrieb Walter Brill:
> Hallo,
> 
> Am 24.12.22 um 16:54 schrieb Stefan Ram:
>> Hermann Riemann <nospam.ng@hermann-riemann.de> writes:
>> |meinend, das eine Datei, deren Dateiname mit .htm oder .html endet
>> |und nichts anderes nichts anderes als
>> |Hallo Welt
>> |ist, eine korrekt Webseite in html5 Format ist.
>>
>>    Ich gebe JavaScript-Kurse. Dabei hat es sich als Problem
>>    herausgestellt, daß zwar fast alle dies auf HTML anwenden
>>    wollen, es aber auch Teilnehmer ohne HTML-Kenntnisse gibt.
>>
>>    Also muß ich in meinen JavaScript-Kurs auch noch einen
>>    kleinen HTML-Kurs integrieren. Zu diesem Zweck habe ich
>>    eine vereinfachte HTML-Variante erfunden, die ich "SIL"
>>    nenne ("SImplified htmL").
>>
>>    Ich habe nämlich festgestellt, daß es "funktioniert",
>>    wenn man in eine Datei schreibt:
>>
>> Das ist <b>Fettschrift</b>.
>>
>>    und diese in einem Browswer öffnet. Das ist SIL: Tags
>>    verwenden, ohne jedoch alle Anforderungen hinsichtlich
>>    <head> und <body> umzusetzen.
>>
>>    Daß das korrektes HTML5 ist, war mir bisher nicht bekannt!
> 
> Ist es auch nicht!
> 
> Das hast Du der "Browsertoleranz" zu verdanken 
> <https://web.dev/howbrowserswork/>
> 
> Eine Datei, wie oben beschrieben, erzeugt bei der Validierung auf 
> <https://validator.w3.org/nu/#file> folgendes Ergebnis:
> 
> Warning: Consider adding a lang attribute to the html start tag to 
> declare the language of this document.
> 
>      From line 1, column 1; to line 1, column 10
> 
>      Hallo Welt↩
> 
>      For further guidance, consult Declaring the overall language of a 
> page and Choosing language tags.
> 
>      If the HTML checker has misidentified the language of this 
> document, please file an issue report or send e-mail to report the problem.
> 
>      Error: The character encoding was not declared. Proceeding using 
> windows-1252.
> 
>      Error: Non-space characters found without seeing a doctype first. 
> Expected <!DOCTYPE html>.
> 
>      From line 1, column 1; to line 1, column 10
> 
>      Hallo Welt↩
> 
>      Error: Element head is missing a required instance of child element 
> title.
> 
>      From line 1, column 1; to line 1, column 10
> 
>      Hallo Welt↩
> 
>      Content model for element head:
>          If the document is an iframe srcdoc document or if title 
> information is available from a higher-level protocol: Zero or more 
> elements of metadata content, of which no more than one is a title 
> element and no more than one is a base element.
>          Otherwise: One or more elements of metadata content, of which 
> exactly one is a title element and no more than one is a base element.
> 
> 
> Ciao
> Walter
> <Html-Dauerlerner>
> 

Für meine internet Seiten verwende ich:

<!DOCTYPE html><html lang="de"><head>
<meta charset="utf-8">
<link rel="stylesheet" href="any.css">
<title>was denn</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="author" content="Hermann Riemann"></head><body>

Das wird auch von browser geschluckt, die noch kein html5 können.

Für meine intranet Seiten verwende ich in einer Zeile

<meta charset="utf-8"><link rel="stylesheet" href="a.css">
<title>was denn</title>

utf-8 wegen Zeichensatz für äöü etc.
Meine css Dateien sehen so aus
http://www.hermann-riemann.de/any.css

Hermann
    <HTML-Dauer-Editierer>

-- 
http://www.hermann-riemann.de

Back to ger.ct | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: HTML5 Walter Brill <WalterBrill@t-online.de> - 2022-12-25 12:17 +0100
  Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-25 14:42 +0100
    Re: HTML5 Walter Brill <WalterBrill@t-online.de> - 2022-12-25 17:05 +0100
      Sorry, zu wenig gesnippt (was:Re: HTML5) Walter Brill <WalterBrill@t-online.de> - 2022-12-25 17:08 +0100
      Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 10:38 +0100
        Re: HTML5 Matthias Eißing <meissing@gmx.de> - 2022-12-26 10:26 +0000
          Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 11:44 +0100
        Re: HTML5 Hergen Lehmann <hlehmann.expires.12-22@snafu.de> - 2022-12-26 11:25 +0100
          Re: HTML5 Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2022-12-26 11:39 +0100
            Re: HTML5 Hergen Lehmann <hlehmann.expires.12-22@snafu.de> - 2022-12-26 12:15 +0100
              Re: HTML5 Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2022-12-26 12:39 +0100
              Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 12:51 +0100
                Re: HTML5 Arno Lutz <invalid@freakmail.de> - 2022-12-26 21:01 +0100
                Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 21:27 +0100
                Re: HTML5 Goetz Schultz <ng.expire1222@goetz.co.uk> - 2022-12-27 10:20 +0000
        Re: HTML5 Walter Brill <WalterBrill@t-online.de> - 2022-12-26 12:32 +0100
          Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 13:06 +0100
            Re: HTML5 Arno Lutz <invalid@freakmail.de> - 2022-12-26 21:02 +0100
              Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-26 21:43 +0100
            Re: HTML5 Walter Brill <WalterBrill@t-online.de> - 2022-12-27 13:10 +0100
              Re: HTML5 Hermann Riemann <nospam.ng@hermann-riemann.de> - 2022-12-27 14:03 +0100

csiph-web