Register now or log in to join your professional community.
The above js code will set the width of all available DIVs to 300px and set the background-color of all all available DIVs and P tags to BLUE.
the div will takepx width and p background blue
This above code will set the width of available div elements to 300px and add blue background color for all div and p elements.