11.
Which CSS function is used to access the value of a global variable defined in HTML?
12.
What is the correct syntax for defining a global variable in HTML using the <script> element?
13.
How can you ensure that a global variable defined in an external JavaScript file is accessible within an HTML document?
14.
How can you declare a global variable in HTML using the data-* attribute within an HTML element?
15.
Which HTML element is commonly used to store and access global data attributes in HTML?
16.
What is the purpose of using global variables within HTML elements using custom data attributes?
17.
How can you access a global data attribute defined in an HTML element using JavaScript?
18.
What is the correct syntax for accessing a global data attribute named "global-var" from an HTML element with the ID "myElement" using JavaScript?
19.
Which of the following is a potential disadvantage of using global variables extensively within HTML documents?
20.
How can you mitigate the risk of naming conflicts when using global variables within HTML documents?