0

How do I get lines out of the scope to be read by navegator to create elements?

<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <div>SomeThing</div> </body> </html> TEXT THAT WILL NOT READ BY NAVEGATOR!

24th Oct 2018, 4:33 PM
Daniel Bandeira
Daniel Bandeira - avatar
1 Respuesta
+ 1
you don't. this is considered invalid markup and it won't be read by the DOM interpreter of the browser. the correct way is to write it in the body tags of the page, then manipulate the tags there by other means (javascript, php, etc.)
26th Oct 2018, 8:11 AM
Panayiotis Spanos
Panayiotis Spanos - avatar