Code & Test code


HỘP TEST CODE

| |
Created by Anhlevan

Chương trình ứng dụng chính xác cho các loại mã HTML, css, JavaScript.
Bạn click vào nút TEST CODE, rồi copy code bên dưới và paste vào để test.
Chúc các bạn thành công !



TUYỂN CHỌN BỘ CODE CHO WEBSITE – BLOG
(Sưu tầm)
01. Code mở cửa sổ nghe nhạc "Youtuber Anhlevan"
<img src="https://www.weebly.com/weebly/images/file_icons/src.png" border="0" width="25" align="center"><a onclick="window.open('https://www.youtube.com/embed/KxCjn7v34Lw?list=UUm1V_Kl7NAzx9zpmoV9ESQw&autoplay=1&loop=1','mywindow','width=560,height=315,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes')" target="_self" href="javascript:void(0)" style="text-decoration:none;background-color:transparent"> PlayList YouTube Music</a>
02. Code liên kết báo online hình chạy ngang:
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="10" direction="left" scrolldelay="15" hight="50" valign="baseline" width="100%" height="50"> 
<a target="_blank" href="https://vnexpress.net/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi4iR73uKqSxUWrg1wbMqvIsm9XRC77ZCiq1XZIQba_A9-MApTZJH2tunhgHN9RObc4ApQiDJlkyuXw0O2lNf5QpiQMGddCYMM2rrASZSBwCMbsd1_II3O_DdVfOmYoMK6pNwUjSGR8m-6ZX68bYdOae282-v5V13RKM0LeiJt8DgGEKwIpjH1qBttgeCA/s200/vnExpress.png" width="150" height="30"></a>
<a target="_blank" href="https://znews.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo6iv81qmq09TjEAxeQPNdQUZlX7eUDlcE1TMtzn4piIrqFi8D8xsw7E9TH7z44qeK1pVepitzIpheMIW3oLA5z6eAVWsDGKzjk7jaeIsXmg3w2WpMjXKRAKkQpvsP2crRvoKg81EqtTX1vJzu3MHNxPkA_6c0X8jeonm8iIH0dJw23H6QUlyUMR-NE6xC/s200/znews.png" width="150" height="30"></a>
<a target="_blank" href="https://tuoitre.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA6bK8SHARpLShE-IbMYrBEiNWuvlyYuPNVsZOvktTHtjWaVxUxOco7yx0wK8mjV4LvmAvBva0FE0N4H_G7sboeBOXsMtUaaIQ1O0syeFh_TZMnIo7_AQg5racpN_p20P5vRcUxokSgZ1-ou0NC5Hv4NPY4FaXrbJTOpUavpOi3F2fXdz9jBNzrxL3MBGR/s200/tuoitre.png" width="150" height="30"></a>
<a target="_blank" href="https://thanhnien.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBsObtcVeEOmPOZnR0_pUyRKs1-Bz8Y27mMvha5FaIklsPCJtxRwXiBPi1Kbe1DG-GKpEAItYMOBYfd-YKa7596byuaUHcBTuDd5ws7NXwnrCUIV07HR-DqBXGPUan0PUPkip4uVTRNiDlCvIk8k009MaW-BDmPUBBFk8lU8sBJHPLLnhQwJDl3TYL9FK0/s200/thanhnien.png" width="150" height="30"></a>
<a target="_blank" href="https://vietnamnet.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheCiw0zrqaSuD-qB3L6luPYRD8UZuYyTclGLaE0LUzUlOr_qDrYcsMn_irE92VnJSuDd9hQMiT4Aj-qeTB1IzRsQVCLTLeyph2_bWjZMGTliOf4e9Bpai9f7HsLBDFzUjJ-Ap3LUix37nHmCRZnIjjO2FXbhICo2WOPcScI-3Ef6J5blwRWEv3t2KKzukB/s200/vietnamnet-min.png" width="150" height="30"></a>
<a target="_blank" href="https://baomoi.com/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6elqEAcPrTux2BA4nG1vvsMcLyzhpR56pjHHj5ByWaAi_gAkuzZm54jCzdVy4JpuMDh03ztQ-G4fVgkxls7BEfCkGCljqRYjzN1ymAKA8BuJOPfYfX_Gh_Up7Ln62kn3Yw6rSzhtO474dAwo2b7CbavKuHLSGel_b_e8kMLCIvC2W630yON22CYv-8HIT/s200/baomoi.png" width="150" height="30"></a>
<a target="_blank" href="https://dantri.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDs07fXI_eufx9v4BI4Y6vfI3G_szoTjgSC8CaNi6Dy7engS4bVcSdoitihZu8T3qIRkChvXeH7OlqSoDszwy1yG53TDE90-p_GOFuADF4Ns1VbT5sEjluKxCsbN517HxJgqE7ohULRAr0ZfxEiqYYIDvhlqiFdkRM-0seRsMUKqbibCxWazhzasLcN7yZ/s200/dantri.png" width="150" height="30"></a>
<a target="_blank" href="https://www.24h.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiumAQD8ECd6Qg7x-aFVizixkv26NI1lsZfOMhLGZReZUrlw6L8R1mIsjr5RweGfkuUYcZTCZe5P2baVKfAISpKjLCIkOpcgn8dJAnr1hLbWhNZgoXAnzXO_qu-Qz_jyQbnlRs0aM3QrmNN3LTCf4ucvMiDQl4nWzReTpSBmqputNKcLnfCySAyCUxHCaUS/s200/24h.png" width="150" height="30"></a>
<a target="_blank" href="https://nhandan.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhULFwBhc81bHsP6N8aI_dnvYrbtip-NCPLiy5MvDK9rV3nPckNrAd2-uAATW7WmFthCvTG0d6ySre-kpWxf3T-bBmXG_4lTlFomoRHWRnayI91GInnxyCnGgQQ1oCScgPJkV2CFDb-jiz4QwG7W4D38micPs6nqbFGW3uO2DY2peL2rCbZXuP8Lnvm18b9/s200/nhandan-min.png" width="150" height="30"></a>
<a target="_blank" href="https://plo.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfq3t4BnTIS3lM4yiZDCb_cdqOCVfoT5vOn1qggW1MDa4sc-V_OlA7y-MedREv9Ik9ArMoHZX7887CGofKocqv4quMA8VdThdYA63feDxTJwHHqHOUKtwdwlajV7IIl3JkWyqDAd6xa4QfyzpUUQkf9u4ZGmV7WLd67gz3UfYo6LjXDCbvmiYb1bJbw2hj/s200/phapluat-min.png" width="150" height="30"></a>
<a target="_blank" href="https://giaoduc.net.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6t_jfNjKZ0e9OhxGTtHXOnLTemAtJVEQP8U73kL0rIupDFd17MnY1bPxv8Vi-YemCMbIfh2BkLKBw26m_DNRTjertVpGTDGHSCfI2E8WY3iewCZIxJnDc39u5Ut5IOHPsPkZ7DA6vsCGZ6zcwyXTR8o2YzivQTFu4PfZ5_-QmXxkGYxhiueDIg2QhniJa/s200/GiaoDucNet.png" width="150" height="30"></a>
<a target="_blank" href="https://kenh14.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK3v9AZO9MQFnIAjst_D8iWjTAA5Ispl9_FIcX9Dc4czBSN3ot5BCR83OEg3GS0VJVd_Xn1t6GQXXUttxmBDqMpPIKwMVpH91YAF54E6MHrsR5vh0zC6c8v4unjbTpVvC5D7uKgCM1uoVF1w8JKa6yKn2_wiwL5Om0Yoa6dm1RWkz7SgCCmZpsingE3lP5/s200/kenh14.png" width="150" height="30"></a>
<a target="_blank" href="https://baoquocte.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP8IeqmOn_hHuDq0mutWY6YPlPh_F2qWeKOu-t7L1-WAvfcwk3GuhNs0X3aL123sSlzkPLP45uGHMh_zntwj2z6pNNHe8Nu73Mcqe0Eq4gj4eLEPNAL9sb2eIR3BE_SGa05bdonxVoavuMWvAt-ecImFGEqLALweefdJOKCAcAKAvDYOh4tvC9Qz3RV-q_/s200/tgvn-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.tienphong.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig69oDsYxbrmzGMo4oHhB2pFQ4uCO1zgRrx8wCHcuaZzNu3iHxyJOTGgrZOEvUBikLTQ_8S2D70Jal_x__qEI_Cg-3NwGofWkBoBxtRpgRf2blM1_EEVKj56txpr2-V9bW8pHTdUIjsJk-qvFH4z3h0ulRrSfdSOKSYMH725qXsg8qGwJeAb10PfqKs0Bw/s200/tienphong-min.png" width="150" height="30"></a>
<a target="_blank" href="https://baotintuc.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzT-HkoyalpReV8xyuex7N40QKW5TV9Deo81_zeeNQWWODa3b1mhF-PMeoMU0zEmfxz1S_reTRoSOwvgAzKEJBnsSX8J4KkdAPs1r4_coAjE4BrBWJ9Pkm7rJB-yvcUfMOuFlGG8W0xqZglMMKStYjoYH-z0ZLZqsB_u05RGCxZq9s2zAbj-ooIvqVrKi2/s200/tintucttxvn-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.vietnamplus.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtpcE_R8OjP65AmXeIDsRiOLnAMYbh7nfPjyDyILB-BHQp3OchiM3mvpBDyfhk4VJmy0wmVmurBSOWVcYqNsOWK028xuEYWCniNoOZh8S7aKzXIvkU1DwXrgEkRog6VjJtZHd5R15AjYyLElwX8gTAVOPs6ePDAqywBZnxWp9gTKc4dmouHlWfathR7kB8/s200/vietnamplus-min.png" width="150" height="30"></a>
<a target="_blank" href="https://vov.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhjWyBla9hwk-y0ws9dLKbgkktsxh7kpIjw-Ecbh0o-n97lo7l6gv1qMjbOtgsiVbTViWsdL-6VsT9481jsuokVgm_AoAkel3vpAtDXqDb7PW41aGfhFdZUdezW_3RPlHHwjzA39zHU4Fu2bDoRlcYB8ZWXJRqBhjosjm5D32NMLLSwxhkogaIWKLA-HCB/s200/vov-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.qdnd.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW4eV4jQpk2SV4WVdeK_dtCQM_sxv6WY_C07eZmXc3PjKY811kH0gok3QiGGy552MKIFqlpQ9WTPCuYflsfxtM7dSBdNhTXrx9tOg9nZOmXZCPN1xLB4E_NNO62ykMS5etz6z98LDGmgeuHILWuoV53Ln0guxQI67JFeS7LVgj7h8xOHqlww_5u5oHCY6d/s200/qdnd-min.png" width="150" height="30"></a>
<a target="_blank" href="http://cand.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkg_mXcosl7u1hPGHZmIyamVn3zWUNWKKauT_ZsNBvnPlD3-v9aiKEvwPMFcLfC2lSbfINGZc83C-43Djr9dhd7b_8shrGr86cv24A4Y8WCIqSCuWLegXbEyJ7RU7XFKXMtSGaxSjjpZlw_QQEEtrFnzuK0skin4JcHmThPAxN_NsWpl4-YQ28WAQWkXuB/s200/cand-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.bienphong.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGThZyfSXCNvXn-XGY1ai071lTzAVRXSMyO05qZVEBekjf_O1cPiR0IwT5II4CMS3rWXZ9cbYQ_U1StyS3ufgiQtXDd_rfWylTgOgy_pQ4WAGy6ZRN7n3E0a00sP6kfKagDjWgA6UwjWaOXuV8LI0kfySizvHWA3kLzYZpx_D6AAdNIESmUh2KbaofwL1B/s200/bienphong-min.png" width="150" height="30"></a>
<a target="_blank" href="https://nld.com.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimyJHjwGGHht5YTxIVwxf5CLpUS-xlLYktFS4V225mwsG7KmwKZMR5ZTrUsrz7i9NlGOhIRHz6gzVc6TVqVgo2S_J6cjis2u2wfmXsqJLvlFurUZqmAVsHVcC0CMRxwg9YSEZZvVMiXqma2oq06lcU2WV62qp6q-ey1JAUjB7QiQL8bk8zk5q3YJwlD3u3/s200/nld-min.png" width="150" height="30"></a>
<a target="_blank" href="https://vtv.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhapu9uPmOvKS9Twya4xhzKaLzeMtlX9pEJ897drgeohj-Ggj3iCvQ1ilmJ5KJ1ZgaZDZ8C3XSlOwBUTO2-QOSacpZnRwM6sbN7xlqjNuEUGRaeeevM25c8O0Y9CSTQ7ODEXmNWyQBRm6lRyoKcshrNwKquI0gftQ5AEmfKBSLhA6Ldgwq2TEsbPzEzkQbZ/s200/vtc-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.sggp.org.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjoNHti25YOhT6qx_M0aET4gOC2tLzVxrLgRZQERgO7dGv6qGsjZhyphenhyphenNTWPAeX8HMjGJJW7cIJlA00JVXNSq1VmdsucNc4Xz-Szx-v5kGNAARSPKZnWwS11D4nFVrzRQ8qFGPzn5N30yVAho-r0HtwKWrUlVY_TvUQ5Yk4FnRycvN9Vvu-uItQMIHKgA1ix/s200/saigon-min.png" width="150" height="30"></a>
<a target="_blank" href="http://toquoc.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3ZDMTGJdJr0vGsxZFgWTz2eLL7txXk4DVEfXte9q6o8VVi2YeefK2Oyk5r4vTAEYA6rgmzc2QOmVelnWOXcF2vVJES2BtAG6JjpqA27eFbBxxVueko_aW_zGL1ATiF_WTnj6KLI5QuHGgK8Qc-G9U-ObNFl5J43_4AyM2Yie7Jlb2IDaE_r7PCx6js3Ln/s200/toquoc-min.png" width="150" height="30"></a>
<a target="_blank" href="http://www.tuyengiao.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMgi473KSMGFOr3SgKl-5etNdXegCs9lqEsKD-Joj17o0X40IpFUVlBwclvZeNA_W0BNae96DIWvPR4mAjVDBUZtM3WCYfjTCZ-cRWX5S2cDBwDixVZWJMDu2VKIthSzgA38OwW0RsquoPCqIqfKd_fpzr23zuNfbjaWVGc7KHNUx0VxtiSunU3lbrzQ4r/s200/tuyengiao-min.png" width="150" height="30"></a>
<a target="_blank" href="https://vtc.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhapu9uPmOvKS9Twya4xhzKaLzeMtlX9pEJ897drgeohj-Ggj3iCvQ1ilmJ5KJ1ZgaZDZ8C3XSlOwBUTO2-QOSacpZnRwM6sbN7xlqjNuEUGRaeeevM25c8O0Y9CSTQ7ODEXmNWyQBRm6lRyoKcshrNwKquI0gftQ5AEmfKBSLhA6Ldgwq2TEsbPzEzkQbZ/s200/vtc-min.png" width="150" height="30"></a>
<a target="_blank" href="https://www.nguoiduatin.vn/"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE0s86DwGbY5bV1D-YQ6ITU9nxvJOUiACg0UZQ_AgLh0yZSPUjGqo23Tw2-dCT8RqEsdgGIovOoNLvORKEhyphenhyphenoE_ydx3QlWzy0OqWVC9FMKTdtDK8QUOCRI4G35bI3hIcAfBdXeXLLQr8QTYfQzndn6ksyxEtawYTZWBHtRbTWSjeFPlzCK8HaFaiU01s65/s200/nguoiduatin.png" width="150" height="30"></a>
<a target="_blank" href="https://dichvucong.gov.vn/p/home/dvc-trang-chu.html"><img border="1" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgejCI1Dyjmx8rvU-Xwp2k7lGSbO9xlt_81MLCbgkx36Jp_M4Rg5lvDtpUXABSCRv2W-BDEPo4g-QAOYqzrcROyksL4ZdnsLcpOr2unwVGZTbwQlV-xbuET0TDLnPQXBpui_YMZ6060jt05q3U6izUcE6P4pcDSzF6gOFevhefnPP6HVmyoNppYm4JUOaaw/s200/cdvcqgvn.png" width="150" height="30"></a>
</marquee>
DEMO:
03. Code liên kết báo online hình chạy dọc:
<!DOCTYPE html>
<html>
<div class="content">
<div class="panel">
<div class="panel-content" id="sidebar_download" style="display: block">
<center>
<marquee onmouseover="this.stop()" onmouseout="this.start()" scrollamount="2" direction="up" scrolldelay="10" hight="150" valign="baseline" width="190" height="200"> 
<a target="_blank" href="https://vnexpress.net/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vnExpress.png" width="180" height="40"></a>
<a target="_blank" href="https://tuoitre.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/tuoitre.png" width="180" height="40"></a>
<a target="_blank" href="https://thanhnien.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/thanhnien.png" width="180" height="40"></a>
<a target="_blank" href="https://www.bienphong.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/bienphong.png" width="180" height="40"></a>
<a target="_blank" href="http://cand.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/cand.png" width="180" height="40"></a>
<a target="_blank" href="https://nhandan.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/nhandan.png" width="180" height="40"></a>
<a target="_blank" href="https://nld.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/nld.png" width="180" height="40"></a>
<a target="_blank" href="https://plo.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/phapluat.png" width="180" height="40"></a>
<a target="_blank" href="https://vtv.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vtv.png" width="180" height="40"></a>
<a target="_blank" href="https://www.qdnd.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/qdnd.png" width="180" height="40"></a>
<a target="_blank" href="http://quochoitv.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/quochoivn.png" width="180" height="40"></a>
<a target="_blank" href="https://www.sggp.org.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/saigon.png" width="180" height="40"></a>
<a target="_blank" href="https://baoquocte.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/tgvn.png" width="180" height="40"></a>
<a target="_blank" href="https://www.tienphong.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/tienphong.png" width="180" height="40"></a>
<a target="_blank" href="https://baotintuc.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/tintucttxvn.png" width="180" height="40"></a>
<a target="_blank" href="http://toquoc.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/toquoc.png" width="180" height="40"></a>
<a target="_blank" href="http://www.tuyengiao.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/tuyengiao.png" width="180" height="40"></a>
<a target="_blank" href="https://vietnamnet.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vietnamnet.png" width="180" height="40"></a>
<a target="_blank" href="https://www.vietnamplus.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vietnamplus.png" width="180" height="40"></a>
<a target="_blank" href="https://vov.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vov.png" width="180" height="40"></a>
<a target="_blank" href="https://vtc.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/vtc.png" width="180" height="40"></a>
<a target="_blank" href="https://baomoi.com/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/baomoi.png" width="180" height="40"></a>
<a target="_blank" href="https://dantri.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/dantri.png" width="180" height="40"></a>
<a target="_blank" href="https://zingnews.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/zing.png" width="180" height="40"></a>
<a target="_blank" href="https://www.24h.com.vn/"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/24h.png" width="180" height="40"></a>
<a target="_blank" href="https://dichvucong.gov.vn/p/home/dvc-trang-chu.html"><img border="1" src="https://sites.google.com/a/my.smccd.edu/site-google/icon/cdvcqg.png" width="180" height="40"></a>
</marquee></center>
</div></div></div>
</html>
04. Code liên kết kiểu hộp menu thả xuống:
<select onchange="window.open(this.options[this.selectedIndex].value,'_blank');this.options[0].selected=true" style="width:200px;cursor:pointer;" name="select"><option selected="selected">Website liên kết</option>
<div class="a-alv">
<option value="about:Tabs">--------------------------</option><br /><br />
<option value="https://s-anhlevan.blogspot.com/">Anhlevan.tk</option><br />
<option value="https://www.edu.net.vn/">Bộ giáo dục & Đào tạo</option><br />
<option value="https://giaoducthoidai.vn/">GD thời đại Văn bản pháp luật</option><br />
<option value="https://www.binhthuan.edu.vn/">Sở GD Bình Thuận</option><br />
<option value="https://www.ninhthuan.edu.vn/">Sở GD Ninh Thuận</option><br /> 
<option value="https://xahoithongtin.com.vn/home.htm/">Xã hội thông tin</option><br />
<option value="https://doanthanhnien.vn/">TW Đoàn thanh niên</option><br />
<option value="https://vnexpress.net//">Báo vnExpress</option><br />
<option value="https://tuoitre.vn/">Báo Tuổi trẻ</option><br />
<option value="https://www.thethaovietnam.com.vn/">Báo Thể thao</option><br />
<option value="https://vietbao.vn/">Việt báo</option><br />
<option value="https://www.vinatop.com/">Danh bạ Web VN</option><br />
<option value="https://www.tlnet.com.vn/Translate.aspx/">Từ điển Online</option><br />
</div>
</select>
05. Code chữ chạy lên trên nền ảnh
<center>
<div style="background: url(https://i.pinimg.com/736x/76/72/4a/76724aeaa877c5a93ed14bb6dcaa8d75.jpg); width: 200px; height: 320px; padding: 15px">
<marquee scrollamount="1" direction= "up" width="200" height="280" scrolldelay="0">
<font size="3" color="#ffff00">Chia sẻ là được nhận tất cả!<br /><br />
Cầu chúc cho quý thầy cô, quý phụ huynh và các em học sinh luôn mạnh khỏe và thành đạt<br /><br /></font>
<font size="3" color="#ff0000">Cám ơn đã thăm website này.  Xin đừng quên để lại lời nhắn.</font><br /><br /><br />
<font size="3" color="#ffffff">Lê Văn Ánh </font><br />
</marquee>
</div>
</center>
06. Code liên kết báo online đóng mở menu:
  <style>
    .button:hover {
        background:linear-gradient(#B22222,#8B0000); border-radius:10px; margin-bottom:1px; padding:8px 12px; text-decoration:none; outline:none;
        color: #FFFF00;
        border: 1px solid #777
    }
    
    .button {
        background:linear-gradient(#0000CD,#00008B); border-radius:10px; margin-bottom:1px; padding:8px 12px; text-decoration:none; outline:none;
        border: 1px solid #555;
        color: #fff;
        cursor: pointer;
        font-family: arial, serif;
        font-size: 12px;
        font-weight: bold;
        height: 28px;
        margin: 0 0 10px;
        padding: 3px 10px 0;
    }
</style> 
 <div class="bigfont" style="margin-bottom: 0px;background-color: #e6e6e6; border: 1px solid rgb(66, 66, 66);border-bottom:none; height: auto; margin: 0px 0px; padding: 6px; text-align: left; width: auto;">
    <input class="button" onclick="if 
(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 != '') { 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = ''; this.innerText = ''; this.value = 'Ẩn menu'; } else { 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = 'none'; this.innerText = ''; this.value = 'Đọc báo online'; }"
    style="margin: 0px; padding: 0px; width: 140px;"  
    type="button" value="Đọc báo online" />  <!– Cấu trúc tab đóng mở –>
</div> 
 <div style="background-color: #e6e6e6; border: 1px solid rgb(66, 66, 66); height: auto; margin: 0px 0px;border-top:none; padding: 1px ; text-align: left; width: auto;">
     <div style="display: none;"><!– Bắt đầu phần nội dung hiển thị –>
 <base target="_parent">
 <style type="text/css">
body {margin:0; padding:0;}
a {display:block; width:130px; font:bold 12px Verdana; color:#FFFF00; background:linear-gradient(#662900,#ffb894); border-radius:10px; margin-bottom:1px; padding:8px 12px; text-decoration:none; outline:none;}   <!– Cấu trúc các menu được mở –>
a:hover, a:focus {padding-right:11px; padding-left:13px;}
</style> 
<nav>
<a href="https://vnexpress.net/" target="_blank">vnExpress</a>
<a href="https://vtc.vn/" target="_blank">VTC News</a>
<a href="https://vtv.vn/" target="_blank">VTV News</a>
<a href="https://tuoitre.vn/" target="_blank">Tuổi trẻ</a>
<a href="https://thanhnien.vn/" target="_blank">Thanh niên</a>
<a href="https://vietnamnet.vn/" target="_blank">Việt Nam Net</a>
<a href="https://baomoi.com/" target="_blank">Báo Mới</a>
<a href="https://dantri.com.vn/" target="_blank">Dân trí</a>
<a href="https://nhandan.com.vn/" target="_blank">Nhân Dân</a>
<a href="https://zingnews.vn/" target="_blank">Zing News</a>
<a href="https://www.24h.com.vn/" target="_blank">24 giờ</a>
<a href="https://giaoducthoidai.vn/" target="_blank">Giáo dục&Thời đại</a>
</nav>         
</div> <!– Kết thúc phần nội dung hiển thị –>
</div>
07. Code chân trang web-blog:
<section class="mobile_chat hidden-md hidden-lg">
	<div class="container">
		<div class="row">
			<div class="col-xs-3 chat-item">
				<a href="tel:1900 2062 " class="chat-item-url">
					<div class="chat-item-image">
						<img src="//theme.hstatic.net/1000391295/1000499396/14/icon_phone.png?v=406" class="img-responsive" alt="goi-dien">
					</div>
					<div class="chat-item-text">
						Gọi điện
					</div>
				</a>
			</div>
			<div class="col-xs-3 chat-item">
				<a href="sms:0854363333" class="chat-item-url">
					<div class="chat-item-image">
						<img src="//theme.hstatic.net/1000391295/1000499396/14/icon_sms.png?v=406" class="img-responsive" alt="nhan-tin">
					</div>
					<div class="chat-item-text">
						Nhắn tin
					</div>
				</a>
			</div>
			<div class="col-xs-3 chat-item">
				<a href="http://zalo.me/0854363333" class="chat-item-url">
					<div class="chat-item-image">
						<img src="//theme.hstatic.net/1000391295/1000499396/14/icon_zalo.png?v=406" class="img-responsive" alt="chat-zalo">
					</div>
					<div class="chat-item-text">
						Chat Zalo
					</div>
				</a>
			</div>
			<div class="col-xs-3 chat-item">
				<a href="https://www.messenger.com/t/https://www.facebook.com/vntisgroup/">
					<div class="chat-item-image">
						<img src="//theme.hstatic.net/1000391295/1000499396/14/icon_fb.png?v=406" class="img-responsive" alt="facebook">
					</div>
					<div class="chat-item-text">
						Facebook
					</div>
				</a>
			</div>
		</div>
	</div>
</section>
 
<style>
.mobile_chat {
    background: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: #ebebeb 0 0 20px;
}
.chat-item {
    padding: 5px 10px;
}
.col-xs-3 {
    width: 25%;
}
.chat-item a {
    display: block;
}
.chat-item .chat-item-image {
    width: 100%;
    float: left;
}
.chat-item .chat-item-image {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chat-item .chat-item-image img {
    height: 32px;
}
.chat-item .chat-item-text {
    width: 100%;
    float: left;
}
.chat-item .chat-item-text {
    height: 20px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.chat-item .chat-item-text {
    width: 100%;
    float: left;
}
.chat-item .chat-item-text {
    height: 20px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>
08. Code Ẩn - hiện nội dung:
<style>
    .button:hover {
        background:linear-gradient(#B22222,#8B0000); border-radius:10px; margin-bottom:1px; padding:8px 12px; text-decoration:none; outline:none;
        color: #FFFF00;
        border: 1px solid #777
    }
    
    .button {
        background:linear-gradient(#0000CD,#00008B); border-radius:10px; margin-bottom:1px; padding:8px 12px; text-decoration:none; outline:none;
        border: 1px solid #555;
        color: #fff;
        cursor: pointer;
        font-family: arial, serif;
        font-size: 12px;
        font-weight: bold;
        height: 28px;
        margin: 0 0 10px;
        padding: 3px 10px 0;
    }

</style>
<div class="bigfont" style="margin-bottom: 0px;background-color: #e6e6e6; border: 1px solid rgb(66, 66, 66);border-bottom:none; height: auto; margin: 0px 0px; padding: 6px; text-align: left; width: auto;">
    <input class="button" onclick="if 
(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 != '') { 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = ''; this.innerText = ''; this.value = 'Ẩn nội dung'; } else { 
this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display
 = 'none'; this.innerText = ''; this.value = 'Xem nội dung'; }"
    style="margin: 0px; padding: 0px; width: 120px;"
    type="button" value="Xem nội dung" />
</div>
<div style="background-color: #e6e6e6; border: 1px solid rgb(66, 66, 66); height: auto; margin: 0px 0px;border-top:none; padding: 1px ; text-align: left; width: auto;">
    <div style="display: none;"><!– Bắt đầu phần nội dung hiển thị –>

      Phần đầu hiển thị <br>
      Chữ bình thường <br>
   <b>Xuất chữ in đậm </b><br>
   <i>Xuất chữ in nghiêng</i><br>
   <div><font color="#0000ff">Xuất chữ màu xanh</font></div>
   <div><font color="#ff0000">Xuất chữ màu đỏ</font></div>
   <div><a href="https://vnexpress.net/" target="_blank">Đọc báo vnExpress nhé !</a></div>    
   <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEfvmb5Nye2NqOP6ZrBjnjN_1FqBdS8qNOro47_ov3AauFFzqQX956boUQaJJpC3D4ZJ1Tj_ogFf8aJf9r6y5HqjgZLPHuBYzP6iuBDAYa-Wadt-W7dWwvctMoCZVIPmlWJvj69Nz94owm/w396-h544-no/Anhlevan_01.jpg" alt="Anhlevan" style="width:400px;height:600px;"> <br>
      Phần cuối hiển thị.
      
   </div><!– Kết thúc phần nội dung hiển thị –>
</div>
09. Code tô màu nền:
<div style="background-color:#FFE4E1; padding:3px;">
<br>
<br>

<p>Nhập nội dung của bài</p>

<br>
<br>
</div>
10. Code tìm kiếm google:
<form action="http://www.google.com.vn/custom" method="get" target="_top"><table bgcolor="#ffffff"><tr><td align="left" height="32" nowrap="nowrap" valign="top"><a href="http://www.google.com/"><img align="middle" alt="Google" border="0" src="http://www.google.com/logos/Logo_25wht.gif" /></a><input maxlength="255" name="q" size="50" type="text" value="" /><input name="sa" type="submit" value="Search" /><input name="client" type="hidden" value="pub-1710694852538675" /><input name="forid" type="hidden" value="1" /><input name="ie" type="hidden" value="UTF-8" /><input name="oe" type="hidden" value="UTF-8" /><input name="cof" type="hidden"value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH :center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000F F;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;" /><input name="hl" type="hidden" value="vi" /></td></tr></table></form>
11. Code bể cá xanh:
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVLq8vfrnKqc1bneyA4Bxw-9t_HQAzv5oOZ3uO4Ph4zWmPwCjQetE-tbB7d9mlV_ulhjg3q672YJH2ptt3VeP4eSUQcArjALRAb6d8pOSdYHLY5ihiPdX4zHZt1YF4CFCmXOMSzprVWIw/"> 
12. Code chó con:
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEger53b8UPQ1iWgfufpUbThU7vIWVHu-CwyTmTdH_g0hroFEph-6V2QJR2moPEkCrs4JvCwn3xvKQErgfTIoLSJvexLROYhVa4-Ku-0GDULYfZxNb5mK7ock06JWb-azWstrLEfS5MMOoI/s1600/Cho2.gif" style="display:block;margin:5px auto 0pt;">
13. Code hiển thị thời gian hiện tại:
<center>
<span style="font-family:'Arial',Verdana,Georgia; font-size: 14px; color: FF00FF; font-weight: 600">
<script language="" type="text/javascript">
//<![CDATA[
<!--   // Array ofmonth Names            
<!-- var monthNames = new Array("một","hai","ba","bốn","năm","sáu","bảy","tám","chín","mười","mười một","mười hai"); -->            
var monthNames = new Array("1","2","3","4","5","6","7","8","9","10","11","12");            
var dayNames = new Array("Chủ nhật, ngày ","Thứ 2, ngày ","Thứ 3, ngày ","Thứ 4, ngày ","Thứ 5, ngày ","Thứ 6, ngày ","Thứ 7, ngày ")            
var now = new Date();            
thisYear = now.getYear();            
thisDay = dayNames[now.getDay()];            
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem            
document.write("" + thisDay +""+""+" "+ now.getDate() + "/" + monthNames[now.getMonth()] + "/" + thisYear);            
// -->            
//]]>
</script>
</span>
</center>
14. Code mở cửa sổ tra mã màu:
<div style="background-color:#FFE4E1; padding:3px;">
<a onclick="window.open('http://mod-site.net/en/tools/colsel.html?form1-st_tdcap_bgcolor ','mywindow','width=650,height=450,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=yes')" target="_self" href="javascript:void(0)" style="text-decoration:none;background-color:transparent"><img src="https://i828.photobucket.com/albums/zz202/jang14590/Bieutuongyahoo/emot176.gif" border="0" width="30" align="center"> Bảng mã màu</a>
</div>
15. Code hiển thị IP Address:
<center>
<a href="https://anhlevanlagi.blogspot.com/2011/07/code-test-code.html" style="background:url("") repeat-x;padding:2px;color:rgb(155,0,68)!important"><img alt="IP" border="0" height="60" src="http://www.wieistmeineip.de/ip-address/?size=468x60" style="border-radius:5px;box-shadow:rgb(204,204,204) 2px 2px 4px;display:inline;margin:5px 0px 0px 10px;text-align:center" width="468"></a>
</center> 
16. Code liên kết chạy từ dưới lên:

17. Code mở cửa sổ đọc truyện cười:

18. Code thay đổi ảnh nền trang tự động:

19. Code đồng hồ kỹ thuật số:

20. Code Tập thơ tình lãng mạng của dân toán:

7 Comments

☞ Nếu bạn comment bằng tiếng Việt thì nhớ nhập dấu đầy đủ, cám ơn.

  1. Có nhiều code hay, nhất là Menu 3D "khủng"
    Thank !

    Trả lờiXóa
  2. hi!,Ӏ like your writing so a lot! ρercentɑgе we communicate extra about
    your article on AOʟ? I require a speсialist in this area to resօlve my problem.

    Maybe that's yoս! Нaving a look ahead to look you.



    Here iѕ my wеƅpage temp

    Trả lờiXóa
  3. Mới cập nhật các đoạn code hy vọng các bạn sẽ thích.

    Trả lờiXóa
  4. Trương Tấn Hùnglúc 23:47 20 tháng 1, 2021

    Cũng được, cám ơn admin.

    Trả lờiXóa

Đăng nhận xét

☞ Nếu bạn comment bằng tiếng Việt thì nhớ nhập dấu đầy đủ, cám ơn.

Mới hơn Cũ hơn