HTML/Basiscursus/Commentaar: verschil tussen versies

Verwijderde inhoud Toegevoegde inhoud
Geen bewerkingssamenvatting
DimiC88 (overleg | bijdragen)
kGeen bewerkingssamenvatting
Regel 7:
| Titel=Commentaar leveren in de broncode
| Code=
<sourcesyntaxhighlight lang=html4strict"HTML"><!-- Hier komt uw commentaar --></sourcesyntaxhighlight>
}}
 
Regel 16:
| Titel=Geldige commentaren
| Code=
<sourcesyntaxhighlight lang="html4strictHTML"><!-- Hallo -- -- Hallo-->
<!------ Hallo -->
<!----- -> Hallo-->
<!------------>
<!-- >hallo<-->
</syntaxhighlight>
</source>
}}
 
Regel 33:
| Titel=Conditioneel commentaar in MSIE
| Code=
<sourcesyntaxhighlight lang=html4strict"HTML"><!--[if IE]> Voor alle versies van MSIE <![endif]-->
 
<!--[if IE 5]> Voor MSIE 5 <![endif]-->
Regel 47:
<!--[if lt IE 6]> Voor alle MSIE's lager dan MSIE 6 <![endif]-->
 
<!--[if lte IE 5.5]> Voor MSIE 5.5 en lager <![endif]--></sourcesyntaxhighlight>
}}
 
Regel 59:
| Titel=Conditioneel commentaar voor Google
| Code=
<sourcesyntaxhighlight lang=html4strict"HTML"><!--googleon: index-->
Hier komt de inhoud die niet wordt geïndexeerd door Google.
<!--googleoff: index--></sourcesyntaxhighlight>
}}
 
Regel 70:
| Titel=Conditioneel commentaar voor alle zoekmachines
| Code=
<sourcesyntaxhighlight lang=html4strict"HTML"><!-- robots content="none" -->
Tekstuele inhoud zal niet worden geïndexeerd, en links zullen niet worden gevolgd door de zoekspiders.
<!-- /robots -->
Regel 80:
<!-- robots content="nofollow" -->
Tekstuele inhoud zal wel worden geïndexeerd, maar links zullen niet worden gevolgd door de zoekspiders.
<!-- /robots --></sourcesyntaxhighlight>
}}
 
Informatie afkomstig van https://nl.wikibooks.org Wikibooks NL.
Wikibooks NL is onderdeel van de wikimediafoundation.