Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> div[class="a"]{ border: 5px solid red; } [id="c"]{ border: 5px solid green; } img[width="150px"]{ border: 5px solid blue; } </style> </head> <body> <div class="a">Hướng dẫn học lập trình web</div> <div class="b">Hướng dẫn học lập trình web</div> <p id="c">Hướng dẫn học lập trình web</p> <img src="../image/smileface.png" width="100px"> <img src="../image/smileface.png" width="150px"> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> div[class="a"]{ border: 5px solid red; } [id="c"]{ border: 5px solid green; } img[width="150px"]{ border: 5px solid blue; } </style> </head> <body> <div class="a">Hướng dẫn học lập trình web</div> <div class="b">Hướng dẫn học lập trình web</div> <p id="c">Hướng dẫn học lập trình web</p> <img src="../image/smileface.png" width="100px"> <img src="../image/smileface.png" width="150px"> </body> </html>