< HTML < Overzicht tags

HTML

Inhoudsopgave
  1. Verklarende woordenlijst
  2. Overzicht tags
  3. Overzicht attributen
  4. Andere cursussen

Functie

Met dit element maakt u een anker (Engels: anchor). In combinatie met het href-atribuut maakt u een hyperlink, terwijl het in combinatie met het name- of id-atribuut een bestemming vormt waarnaar andere hyperlinks kunnen verwijzen.

Voorbeeld

HTML-code: Een voorbeeld van het gebruik van de a-tag

<a href="http://google.nl/" accesskey="g" hreflang="nl" 
title="Bezoek de website van de zoekmachine Google">Google</a>

Optionele attributen

accesskey

charset

coords

href

hreflang

name

rel

rev

shape

target

type

Standaardattributen

class

dir

id

lang

style

title

Mogelijke inhoud

abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var<

Mag staan in

abbr, acronym, address, applet, b, basefont, bdo, big, blockquote, br, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, hx, i, iframe, img, input, ins, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

Status

Opgenomen in HTML 4.01 transitional, frameset en strict.

Opmerkingen en tips

Dit is het enige element waarop de CSS hover-selector werkt in MSIE.

Meer informatie


HTML elementen

a | abbr | acronym | address | applet | area | b | base | basefont | bdo | big | blockquote | body | br | button | caption | center | cite | code | col | colgroup | dd | del | dfn | dir | div | dl | dt | em | fieldset | font | form | frame | frameset | head | hr | html | hx | i | iframe | img | input | ins | kbd | label | legend | li | link | map | menu | meta | noframes | noscript | object | ol | optgroup | option | p | param | pre | q | s en strike | samp | script | select | small | span | s en strike | strong | style | sub | sup | table | tbody | td | textarea | tfoot | th | thead | title | tr | tt | u | ul | var

Nieuwe elementen die zullen worden geïntroduceerd met HTML 5

article | aside | audio | canvas | command | datalist | details | dialog | embed | figure | footer | header | hgroup | keygen | mark | meter | nav | output | progress | rp | rt | ruby | section | source | time | video

 


This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.