Sublime Text
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(":image").css("background-color","red"); }); </script> </head> <body> <input type="radio" name="gioitinh" value="nam"> Nam <hr> <input type="radio" name="gioitinh" value="nu"> Nữ <hr> <input type="checkbox" name="city" value="ct"> Cần Thơ <hr> <input type="checkbox" name="city" value="vl"> Vĩnh Long <hr> <input type="image" src="../image/troll-face.png" width="70"> </body> </html>
<!DOCTYPE html> <html> <head> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $(":image").css("background-color","red"); }); </script> </head> <body> <input type="radio" name="gioitinh" value="nam"> Nam <hr> <input type="radio" name="gioitinh" value="nu"> Nữ <hr> <input type="checkbox" name="city" value="ct"> Cần Thơ <hr> <input type="checkbox" name="city" value="vl"> Vĩnh Long <hr> <input type="image" src="../image/troll-face.png" width="70"> </body> </html>