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