Wymagania HTML

Tworzenie stron internetowych

URL:
http://www.plotkarka.eu/pomoce/html-wymagania.html
Autor:
Radosław Kowaluk
Temat Podstawa programowa Rozszerzenie
Opanowanie pamięciowe Opanowanie operacyjne Nie używać na egzaminie
elementy atrybuty element atrybuty elementy atrybuty
Wstęp do HTML deklaracja   komentarz atrybuty globalne    nowe atrybuty globalne
Strona WWW <html>,
<head>,
<body>,
<title>
lang
<meta>*,
<base>,
<link>*,
<style>*
name, content, http-equiv, href, dir, type, src   manifest
Elementy blokowe <p>,
<h1> - <h6>,
<ol>,
<ul>,
<li>,
<div>,
<hr>
style, title <blockquote>,
<pre>,
<address>,
<dl>,
<dd>,
<dt>,
<bdo>
cite, dir <nav>,
<section>,
<article>,
<aside>,
<header>,
<footer>,
<figure>,
<figcaption>,
<main>
 
Elementy liniowe <a>,
<b>,
<i>,
<small>,
<sub>,
<sup>,
<span>,
<abbr>,
<br>
href <q>,
<cite>,
<code>,
<dfn>,
<em>,
<var>,
<kbd>,
<samp>,
<strong>,
<del>,
<ins>
cite, datetime, id <data>,
<time>,
<mark>,
<ruby>,
<rt>,
<rp>,
<bdi>,
<wbr>
 
Obrazy <img> src, alt, height, width
<map>,
<area>
usemap, name, shape, coords, tabindex, type, href, rel  
Obiekty <object>, <param> data, type, name, value <embed>,
<audio>,
<video>,
<source>,
<track>
 
Ramki <iframe> target, height, width, src, class, rel, type, allowtransparency**, frameborder** <svg>,
<math>
 
Tabele <table>,
<tr>,
<th>,
<td>,
<caption>
colspan, rowspan, border <tbody>,
<thead>,
<tfoot>,
<colgroup>,
<col>
summary, scope, span, headers    
Formularze <form>,
<select>,
<option>,
<button>,
<textarea>
action, method, value, type, checked, name <input>*,
<fieldset>,
<legend>,
<optgroup>,
<label>
size, maxlength, for, rows, cols, label <datalist>,
<keygen>,
<output>,
<progress>,
<meter>
 
Zdarzenia <script>,
<noscript>
ondblclick, onmousemove, onmousedown, onmouseout, onkeydown, onkeyup, onselect, onsubmit, onunload, onabort, onmouseover, onmouseout, onclick, onfocus, onblur, onkeypress, onchange, onload <template>,
<canvas>
 

*) wskazane jest częściowe opanowanie wybranych elementów
**) atrybuty niezgodne ze specyfikacją HTML5

Struktury

Strona internetowa

<!DOCTYPE html>
<html lang="pl">
 <head>
  <title>Tytuł strony</title>
  <meta charset="utf-8" />
  <link rel="stylesheet" href="nazwa_pliku.css"/>
 </head>
 <body>
  <header>
Nagłówek
  </header>
  <nav>
Menu
  </nav>
  <main>
Treść
  </main>
  <aside>
Zakładka
  </aside>
  <footer>
Stopka
  </footer> 
 </body>
</html>