+ 2
<html> tag attributes
What attributea can we put to the <html> tag? Could you give me an example?
1 ответ
+ 9
You can use global attributes on html tag
Some of the examples are
lang - The lang attribute is use to specify the language for the browser. Ex - <html lang="en-us"> specifies the document is written in en-US language to the browser.
Other examples are class and id.
Full List of Global attributes - https://www.w3schools.com/tags/ref_standardattributes.asp