| Element | Atrybuty | Opis |
|---|---|---|
| <details></details> | globals, open | detale HTML 5.1 |
| <summary> </summary> | globals | podsumowanie HTML 5.1 |
| <menu> </menu> | globals, type, label | menu HTML 5.1 |
| <menuitem> </menuitem> | globals, type, label, icon, disabled, checked, radiogroup, default | pozycja menu HTML 5.1 |
| <dialog></dialog> | globals, open | okno dialogowe HTML 5.2 |
| Atrybut | Wartości | Opis |
|---|---|---|
| open | otwarty HTML 5.1 | |
| type | context | typ |
| label | Text | etykieta |
| icon | URL | Ikona polecenia HTML 5.1 |
| disabled | wyłączony | |
| checked | zaznaczony | |
| radiogroup | Text | nazwa grupy poleceń HTML 5.1 |
| default | polecenie domyślne |
Kliknięcie elementu summary pokazuje lub ukrywa całą zawartość elementu details.
| Wartość | Opis |
|---|---|
| context | menu elementu (kontekstowe) |
| Text | tekst |
| URL | Poprawny, niepusty adres URL opcjonalnie otoczony spacjami |
Elementy formularza zostały opisane w Planszy interaktywnej Formularze a hiperłącze w Elementy liniowe
Wskazanie i kliknięcie elementu prawym przyciskiem pokazuje menu podręczne (kontekstowe) elementu.
| Przeglądarka | Windows | Linux | Mac |
|---|---|---|---|
| Internet Explorer | [Alt] + accesskey | ||
| Chrome | [Alt] + accesskey | [Alt] + accesskey | [Control] [Alt] + accesskey |
| Firefox | [Alt] [Shift] + accesskey | [Alt] [Shift] + accesskey | [Control] [Alt] + accesskey |
| Safari | [Alt] + accesskey | [Control] [Alt] + accesskey | |
| Opera | Opera 15 lub nowsze: [Alt] + accesskey Opera 12.1 lub starsze: [Shift] [Esc] + accesskey |
||
Klawisze skrótu są opisane w tabelce.
Interakcje elementów można uzyskać stosując atrybuty: title, contenteditable.
Kliknięcie w menu kontekstowym KLIKNIJ otwiera okno dialogowe (metoda alert()).
Kliknięcie test2 otwiera okno dialogowe (metoda show()). Kliknięcie okno dialogowe zamyka je (metoda close()).