0
which tag used to add visual content in html?
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
+ 1
thanks