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!
1 ответ
+ 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.)