Rumah  >  Artikel  >  hujung hadapan web  >  HTML Lembaran Cheat

HTML Lembaran Cheat

PHPz
PHPzasal
2024-09-04 16:17:20456semak imbas

HTML, sering dipanggil Hypertext Markup Language, digunakan untuk membangunkan aplikasi web dan halaman. HTML telah direka dan dibangunkan oleh W3C & WHATWG. HTML mula muncul pada tahun 1993, iaitu 25 tahun yang lalu. Versi terkini ialah HTML 5.x. Sambungan fail ialah .html atau .htm dan dibangunkan oleh standard pengesyoran terkini ISO/IEC, W3C dan HTML. JavaScript dan CSS (Cascading Style Sheets) seterusnya menjadikan HTML bersama lebih berkuasa dalam teknologi World Wide Web.

Elemen dan Kandungan pada HTML Helaian Cheat

Elemen HTML ialah komponen utama halaman web HTML. Teg HTML mewakili elemen dan disertakan dalam kurungan sudut tertutup. HTML boleh memasukkan skrip seperti program JavaScript di dalam kandungannya dalam bentuk pembenaman dalam kodnya. Elemen HTML tanpa sebarang kandungan dipanggil elemen kosong. Setiap elemen HTML mengandungi teg permulaan dan teg penamat. Di bawah ialah senarai elemen HTML Lembaran Cheat yang disebut, yang menunjukkan pelbagai jenis fungsi:

ELEMENT DESCRIPTION
HTML ELEMENTS

This tag defines a paragraph.
This defines a hyperlink that links one web page to another web page. Href is the most important attribute in element.
This tag serves as a container, hiding the implementation of other page elements.

The Line Break Element uses this tag to break the line.

The Page Title, which is more important, uses this tag as a header element to display the heading content.

The Page Title uses this tag as a header.

The Tertiary Heading uses this tag as the header.

This tag functions as a Quaternary Heading, serving as a header.
This tag is used to display Bold Text.
This tag is used to display Italic Text.
This tag is used to display Underlined Text using the style attribute.
Use this tag to define abbreviations.