which tag used to add visual content in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

which tag used to add visual content in html?

22nd Jun 2018, 5:25 AM
Hasebur
Hasebur - avatar
2 Answers
+ 2
Hello, Hasebur ! The <body> element is designed to store the content of the web page (content) displayed in the browser window. The information that should be displayed in the document should be placed inside the <body> container. This information includes text, images, tags, JavaScript scripts, etc. The <body> tag is also used to determine the colors of links and text on a web page. This practice in HTML 4 is condemned and instead, it is recommended to use the styles to specify the color scheme, applying them to the BODY selector. However, most of the attributes are still supported by different browsers. Often the <body> tag is used to host an event handler, for example, onload, which is executed after the document has completed loading to the current window or frame. http://htmlbook.ru/html/BODY
22nd Jun 2018, 5:48 AM
Alexander Sokolov
Alexander Sokolov - avatar
+ 1
thanks
22nd Jun 2018, 5:48 AM
Hasebur
Hasebur - avatar