html5<figcaption>
Hasil terjemahan:
. Jalankan Instance »
n. sari kata; fail ketiga
vt. Tambahkan kapsyen pada (gambar, foto, dsb.);html5<figcaption>sintaks
Fungsi: Teg <figcaption> mentakrifkan tajuk (kapsyen) elemen angka.
Elemen "figcaption" hendaklah diletakkan sebagai elemen anak pertama atau terakhir bagi elemen "figure".
html5<figcaption>contoh
<!DOCTYPE html> <html> <body> <p>The Pulpit Rock is a massive cliff 604 metres (1982 feet) above Lysefjorden, opposite the Kjerag plateau, in Forsand, Ryfylke, Norway. The top of the cliff is approximately 25 by 25 metres (82 by 82 feet) square and almost flat, and is a famous tourist attraction in Norway.</p> <figure> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg" alt="The Pulpit Rock" width="304" height="228"> <figcaption>Fig.1 - The Pulpit Rock, Norway.</figcaption> </figure> </body> </html>
Klik butang "Run Instance" untuk melihat contoh dalam talian