MACAM-MACAM CARA DALAM MENYISIPKAN IMAGE PADA CODING HTML
MACAM-MACAM CARA DALAM MENYISIPKAN IMAGE PADA CODING HTML
CONTOH CODING.
<!doctype html>
<html>
<head> <title> IMAGES </title> </head>
<body style = ” text-align : center;
border = 0;
margin : auto;
background-color :orange”>
<h4> INI UNTUK IMAGE YANG DI FOLDER YANG SAMA </h4>
<img src = “sama.jpg ” alt = “satu_folder” style = “width : 100px ; height : 100px”>
<h5> Ini Untuk Images Yang berbeda folder dengan File Ini </h5>
<img src = “/images/a.jpg ” alt = “beda_folder” style = “width : 100px ; height : 100px”>
<h4> Ini untuk Images yang berbeda server Dengan File Ini </h4>
<img src = “D:/NARUTO/images-20.jpg” alt = “beda_server” style = “width : 100px ; height : 100px”>
<h2> Ini untuk Images yang digunakan sebagai LINK </H2>
<a href = “http://localhost/tugas/QuotationElement.html” target = “blank”>
<img src = “/images/b.jpg” alt = “Link” style = “width : 100px ; height : 100px”>
</body>
</html>