前端-html

前端-html

https://quickref.cn/docs/html.html

段落p

1
2
3
<p>
xxx
</p>

注释

1
2
3
4
5
6
<!-- xxx -->

<!--
xxx
xxx
-->

链接

1
<a href="xxx">xxx</a>

标题

1
2
3
4
5
6
7
8
9
<h1>

</h1>

...

<h6>

</h6>

粗体b strong

1
2
3
<b>xxx</b>

<strong>xxx</strong>

换行

1
<br>

水平分割线

1
<hr>

javascript

1
2
3
4
5
6
7
8
9
10
11
12
<script>
export default {
name: 'HelloWorld',
data(){
return {
msg:"消息提示",
rawHtml:"<a href='http://www.itbaizhan.com'>百站</a>",
dynamicId:1001
}
}
}
</script>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
head

body

br

h2

footer

script

p

title

button

hr

fieldset

legend

div

br

form

input