How can you set the border style of an HTML element using JavaScript?
A). element.style.borderStyle = 'style';
B). element.border.style = 'style';
C). element.style.border.style = 'style';
D). element.style.style = 'style';
How can you set the opacity of an HTML element using JavaScript?
A). element.style.opacity = '0.5';
B). element.opacity = '0.5';
C). element.setOpacity('0.5');
D). element.style.setOpacity('0.5');
How can you set the z-index of an HTML element using JavaScript?
A). element.style.zIndex = '100';
B). element.zIndex = '100';
C). element.setZIndex('100');
D). element.style.setZIndex('100');
How can you set the visibility of an HTML element using JavaScript?
A). element.style.visibility = 'hidden';
B). element.visibility = 'hidden';
C). element.style.display = 'none';
D). element.display = 'none';
How can you set the text transform of an HTML element using JavaScript?
A). element.style.textTransform = 'transform';
B). element.transform = 'transform';
C). element.textTransform = 'transform';
D). element.style.transform = 'transform';
How can you set the margin of an HTML element using JavaScript?
A). element.style.margin = 'margin';
B). element.margin = 'margin';
C). element.setAttribute('margin', 'margin');
D). element.style.margin('margin');
How can you set the border color of an HTML element using JavaScript?
A). element.style.borderColor = 'color';
B). element.border.color = 'color';
C). element.style.border.color = 'color';
D). element.color = 'color';
How can you set the font family of an HTML element using JavaScript?
A). element.style.fontFamily = 'family';
B). element.fontFamily = 'family';
C). element.family = 'family';
D). element.style.family = 'family';
How can you change the background color of an HTML element using JavaScript?
A). element.style.backgroundColor = 'color';
B). element.background = 'color';
C). element.style.bgColor = 'color';
D). element.bgColor = 'color';
How can you set the text decoration of an HTML element using JavaScript?
A). element.style.textDecoration = 'decoration';
B). element.decoration = 'decoration';
C). element.textDecoration = 'decoration';
D). element.style.decoration = 'decoration';