Sublime Text
<!DOCTYPE html> <html> <head> <style type="text/css"> #header, #footer{ background-color:rgb(0, 73, 64); color:white; text-align:center; } #menu{ background-color:#ddd; height:250px; width:30%; float:left; } #content{ background-color:PaleGoldenRod; height:250px; width:50%; float:left; } </style> </head> <body> <div id="header">WEB CƠ BẢN . VN</div> <div id="menu">Phần menu</div> <div id="content">Phần nội dung</div> <div id="footer" style="clear:both">©2016 Web cơ bản All Rights Reserved</div> </body> </html>
<!DOCTYPE html> <html> <head> <style type="text/css"> #header, #footer{ background-color:rgb(0, 73, 64); color:white; text-align:center; } #menu{ background-color:#ddd; height:250px; width:30%; float:left; } #content{ background-color:PaleGoldenRod; height:250px; width:50%; float:left; } </style> </head> <body> <div id="header">WEB CƠ BẢN . VN</div> <div id="menu">Phần menu</div> <div id="content">Phần nội dung</div> <div id="footer" style="clear:both">©2016 Web cơ bản All Rights Reserved</div> </body> </html>