web learning - html

$ hexo new [layout] “title” # default post

HTML structure

we need to identify the type of the document at the beginning

every visible content should be written in the “body”

‘p’ tag is the basic tag which contains the most common content.

‘a’ tag: html attribute –
‘href’ is the name of this attribute, quote is the value of the attribute

we don’t need to close a ‘img’ tag (we don’t need write sth). specify the source of the image by using a src=”” quote.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>

<html>
<body>
<h1>...</h1>
<h2>...</h2>
<h3>...</h3>

<p>...</p>

<a herf='https://google.com'> click this link </a>

<img src=" " height="" width="" alt="">

</body>
</html>

attribute


web learning - html
http://freya-popo.github.io/2023/10/08/web-learning-html/
Author
freya-popo
Posted on
October 8, 2023
Licensed under