How can you set the position property of an HTML element using JavaScript?
A). element.style.position = 'relative';
B). element.position = 'relative';
C). element.style.position = 'absolute';
D). element.position = 'absolute';
How can you change the text alignment of an HTML element using JavaScript?
A). element.style.textAlign = 'alignment';
B). element.align = 'alignment';
C). element.textAlign = 'alignment';
D). element.style.align = 'alignment';
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 cursor style of an HTML element using JavaScript?
A). element.style.cursor = 'pointer';
B). element.cursor = 'pointer';
C). element.style.pointer = 'cursor';
D). element.pointer = 'cursor';
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 change the font size of an HTML element using JavaScript?
A). element.style.fontSize = 'size';
B). element.fontSize = 'size';
C). element.size = 'size';
D). element.font.size = 'size';
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 display property of an HTML element using JavaScript?
A). element.style.display = 'block';
B). element.display = 'block';
C). element.style.visibility = 'visible';
D). element.visibility = 'visible';
How can you change the font color of an HTML element using JavaScript?
A). element.style.color = 'color';
B). element.fontColor = 'color';
C). element.color = 'color';
D). element.style.fontColor = 'color';
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');