10
头图

homework

Because I was busy some time ago (busy blind date), I haven't updated the article for a long time, and I haven't studied hard! As a result, all my teachers came to question me, so I have to do a review today 😭 Hey, do you have the feeling of being urged by the teacher to hand in your homework when you were in high school! ! ! d536f31925e0a433ccc51df18453f94.jpg

0cf5451a2c9592effcb0796a1a836a5.jpg
So in order to prove that you are still studying hard recently, I will organize a recent study note for you. If there is anything you need to add, you can contact me for comments.

html simple learning record:

Introduction

HTML5 (Hyper Text Markup Language) is the abbreviation of Hyper Text Markup Language 5. Hypertext includes text, pictures, audio, video, animation, etc. image.png

Pairs of tags such as <body> and </body> are called open tags and closed tags respectively, and tags (empty elements) presented separately, such as <hr/> means to use / to close empty elements

DOCTYPE declaration: tell the browser what specification we want to use
<title> tag
<meta> tag: descriptive tag, used to describe the information of the website, generally used for SEO (search engine optimization)

Web page basic tags

Title tags: <h1>first-level tags</h1>, <h2>second-level tags</h2>…
Paragraph tag: <p></p>
Newline tag: <br/>
Horizontal line tag: <hr/>

Font style tags:

Bold: <strong></strong>
Italic: <em></em>

Comments and special symbols

Comment: <!--Comment-->
Special symbols:
Space: &nbsp;
Greater than sign: &gt;
Less than sign: &lt;
Copyright Symbol: &copy;

image tag

<img src="path" alt="text" title="text" width="x" height="y" />

For example: a photo that only smart people can see 😲 (I'll see who is not smart)

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>这是一张照片</title>
    </head>
<body>
  <img src="https://image-static.segmentfault.com/193/946/1939460279-623073e306b4c_fix732" title=这是一张照片 width="600"/>
</body>
</html>

link label

Hyperlink Label: <a></a>

<a href="path" target="目标窗口位置">链接文本或图像</a>

Based on the above content, I have completed a news page, a piece of news that I have seen recently and am more interested in!

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新闻页面</title>
</head>
<body>
    <h1 align="center">#未成年人文身后容易被标签化#</h1>
    <br />央视网快看 22-3-8 
    <hr />
       <p><center><img src="https://image-static.segmentfault.com/166/348/1663489133-623074a1bc343_fix732" title="当天热搜榜" ></center></p>
   <p align="lift">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;今天看到了这样的一个话题:未成年人文身不是私事和家事"</p>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;然后看到下面的评论直接两极化,首先我们看问题待看重点:未成年.
      <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;孩子们心智尚不成熟,文身后容易被标签化,甚至走入歧途。而且,孩子们正在长身体,文身易感染、难复原,长大后就业受限。这个话题的关键是未成年人,如果你是成年人你想文身那是你的自由,
          未成年文身很多是盲目跟风或者是为了需求新鲜感而草率做出的决定,而且当时的经济情况对于文身师的选择可能也不会太好,可能会感染,难复原等问题,对未成年人的身体和身心都可能造成伤害,未来入学、参军、就业若受阻,便会影响成长和发展。

      有人总结:未成年人文身酷一时、痛一生。
      
      也有人说拿纹身说事是“刻板印象”,是对纹身的偏见。其实一直以来社会上就对纹身有两个比较极端的看法,个人感觉成年人的话无所谓,想怎么纹就怎么纹,但是未成年人的话,还是多考虑考虑,实在想纹的话等到18岁成年了也不晚。</p>
    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有人总结:未成年人文身酷一时、痛一生。</p>
    <a href="https://ent.china.com/pic/rg/11060670/20220309/41589646.html">#未成年人纹身不是私事和家事#</a>
    <video

</body>
</html>

Okay! I've only learned so much
So here is the homework supplement ❤️


不会写代码的小白
85 声望50 粉丝

你今天累坏了小章鱼明天一定会更美好更美丽的