15 lines
630 B
Markdown
15 lines
630 B
Markdown
---
|
||
title: Challenge Dire Bonjour Aux Elements HTML
|
||
localeTitle: 挑战向HTML元素问好
|
||
---
|
||
HTML元素使用开始标记,结束标记和介于两者之间的内容编写:
|
||
|
||
* `<nom-de-la-balise>contenu</nom-de-la-balise>`
|
||
|
||
HTML元素包括从开始标记到结束标记包含的所有内容:
|
||
|
||
* `<p>Mon premier paragraphe HTML.</p>`
|
||
|
||
开始标记如下所示: `<h1>` ,结束标记如下所示: `</h1>`
|
||
|
||
* 请注意,开始标记和结束标记之间的唯一区别是结束标记在打开的V形符号后面有一个斜杠。结束标记中的斜杠非常重要,因为它表示标记是此元素的结尾。 |