Rumah > Artikel > hujung hadapan web > HTML Lembaran Cheat
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 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. | |||||||||||
This tag is for inline framing and embeds another document in the current HTML document. | |||||||||||
This tag denotes a short quotation. | |||||||||||
This tag is used to define a section of a quote that is quoted from another source | |||||||||||
This tag is used to insert and define an image on an HTML web page. | |||||||||||
HTML SEMANTIC ELEMENTS | |||||||||||
This tag acts as a container tag for mentioning any HTML element inside it. | |||||||||||
This tag applies grouping and styles to the elements inline. | |||||||||||
This tag defines the self-contained content inside the HTML document. | |||||||||||
This tag displays a page section aside from the related section. | |||||||||||
This tag shows additional information that you can hide using the extra button option. | |||||||||||
This tag defines the header content of a section or document. | |||||||||||
This tag defines the footer content of its nearest or sectioning root element. | |||||||||||
This tag defines the links to other pages or parts within the same page. | |||||||||||
HTML NON SEMANTIC ELEMENTS | |||||||||||
This tag declares a form that contains many pairs. | |||||||||||
Trucs et astuces gratuits pour utiliser les commandes HTML de l'aide-mémoireVoici les trucs et astuces suivants :
|