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(){ $(":selected").css("font-size","30px"); }); </script> </head> <body> <select> <option>Cần Thơ</option> <option selected>Vĩnh Long</option> <option>Hậu Giang</option> <option>Sóc Trăng</option> </select> </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(){ $(":selected").css("font-size","30px"); }); </script> </head> <body> <select> <option>Cần Thơ</option> <option selected>Vĩnh Long</option> <option>Hậu Giang</option> <option>Sóc Trăng</option> </select> </body> </html>