Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What will be the output of the following jquery ? $("div").css("width","300px").add("p").css("background-color","blue");

user-image
Question ajoutée par Mohd Nadeem Mohd Rehman Mohammed , Software Engineer , Softworx Technologies
Date de publication: 2016/09/30
Saud Rashid
par Saud Rashid , Project Manager , Buzytech IT Solutions

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.

Hamzeh Salhi
par Hamzeh Salhi , Front End Developer , Reserveout

the div will takepx width and p  background blue

Dhinesh Ramalingam
par Dhinesh Ramalingam , Project Manager , HOD Technologies FZCO

This above code will set the width of available div elements to 300px and add blue background color for all div and p elements.

khalid agouddar
par khalid agouddar , .NET DEVELOPER , GOWEB

set a width of 300px  for all div elements and blue for the back-ground color of all the p and div elements

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?