Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Position relative ignored in innerHTML
Message
De
26/02/2017 14:08:35
 
 
À
26/02/2017 12:14:37
Information générale
Forum:
CSS
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01648528
Message ID:
01648546
Vues:
23
1.from documentations:
The <!DOCTYPE> declaration must be the very first thing in  HTML document, before the <html> tag.
The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.
In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.
HTML5 is not based on SGML, and therefore does not require a reference to a DTD.

Then  must Always add the <!DOCTYPE> declaration to  HTML documents, so that the browser knows what type of document to expect.

2.the html file in the zip you sent me : i understand anything !
visibly there is nothing when clicking (keypress event) on test link on my firefox.(you made a div Michel with display="none" (invisible)
what can be the result ?where is innerhtml ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform