Institute of Computer Science
  1. Main page
  2. Youth to Code
ET
Log in

Youth to Code

Veebilehed

<< Kõik kursused

  • Kursusest
    • 0. Sissejuhatus veebimaailma

HTML

  • 1. Mis on HTML?

1.1 Mis on HTML? 1.2 HTML dokument 1.3 Dokumendi struktuur 1.4 Märgendid 1.5 Valideerimine 1.6 Lõpetuseks

  • 2. Tekst ja viidad
  • 3. Loendid. Tabelid
  • 4. Pildid. Audio. Video

CSS

  • 5. Mis on CSS?
  • 6. Tabelid, loendid, piirid
  • 7. Pseudoelemendid ja positsioneerimine
  • 8. Kursorid, taustad, pildid
Peatüki sisukord

1.5 Valideerimine

HTML5 on tolerantne arendajate suhtes ja kuvab ka valesti tehtud veebidokumente. Kahjuks otsingumootorid ei ole nii lahked - valesti või vigadega koostatud veebilehte blokeeritakse otsingumootorites. Kuidas siis kontrollida koostatud veebilehte? Abiks on validaator - spetsiaalne programm, mis kontrollib veebidokumendi vastavust HTML standartidele.

Validaator asub aadressil http://html5.validator.nu. Seal on võimalik kontrollida oma veebidokumenti veebiaadresi järgi (Address), üleslaed failide järgi (File Upload) või kopeeritud ja kleebitud veebidokumendi järgi (Text Field). Kui veebidokumendis on vead, validaator näitab veateateid koos veakirjelduse ja asukohaga:

Kui veebidokument on koostatud HTML 5 standartide järgi, pääseb see kontrollist läbi:

Peatüki sisukord
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment