Python爬虫丨HTML基本
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">HTML是什么?</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">HTML(Hyper Text Markup Language)是用来描述网页的一种语言,<span style="color: black;">亦</span>叫超文本标记语言。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://pic1.zhimg.com/80/v2-bb174eb919067ef4ce1a0611067ac304_720w.webp" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">HTML文档<span style="color: black;">便是</span>前端工程师设计网页时<span style="color: black;">运用</span>的语言,浏览器会<span style="color: black;">按照</span>HTML文档的描述,解析出它所描述的网页。</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">查看网页的HTML代码</p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">打开风变编程<span style="color: black;">教育</span>网站:<a style="color: black;"><span style="color: black;">https://</span><span style="color: black;">wordpr</span></a>ess-edu-3autumn.localprod.oc.forchange.cn<span style="color: black;">/</span></p>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在网页任意<span style="color: black;">地区</span>点击鼠标右键,<span style="color: black;">而后</span>点击"<span style="color: black;">表示</span>网页源代码"。(Windows系统的快捷键Crtl+u)。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://pic4.zhimg.com/80/v2-d6dabedc2cef036c700e31ecb04eef5b_720w.webp" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">浏览器会弹出一个新的标签页</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://pic2.zhimg.com/80/v2-3538c15fc10a1849087326499cbd9ab9_720w.webp" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在网页空白处点击右键,<span style="color: black;">而后</span><span style="color: black;">选取</span><span style="color: black;">检测</span>(快捷方式Ctrl+Shift+i)。</p>
<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://pic2.zhimg.com/80/v2-ebc4b72bb59b32976caeab357c46b019_720w.webp" style="width: 50%; margin-bottom: 20px;"></div>
<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">点击后的效果</p>
感谢您的精彩评论,为我带来了新的思考角度。 太棒了、厉害、为你打call、点赞、非常精彩等。
页:
[1]