Blogger Information
Blog 6
fans 0
comment 0
visits 5948
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
前端开发环境与html基础
好好学习
Original
838 people have browsed it

前端开发环境与html基础

vscode常用插件

  • Chinese (Simplified) Language Pack for Visual Studio Code( 简体中文)
  • HTML CSS Support(HTML与css代码提示)
  • HTML/CSS/Javascript Snippets( HTML与css代码片段)
  • Live Server(代码在浏览器同步刷新)
  • Auto close tag(标签自动闭合)
  • Auto Remame Tag(标签自动更名)

文本链接锚点与图片

  1. <h1>一级标题</h1>
  2. <h2>二级标题</h2>
  3. <h3>三级标题</h3>
  4. <h4>四级标题</h4>
  5. <h5>五级标题</h5>
  6. <h6>六级标题</h6>
  7. <p>段落标签</p>
  8. <p>段落标签</p>
  9. <img src="11.png" alt="这是一张图片" height="200" />

效果


链接标签

  1. <a href="http://www.baidu.com" target="_blank">11</a>
  • target默认属性值为:_self(当前窗口打开),_blank(新窗口打开)

  1. <a href="http://www.baidu.com" target="baidu">打开百度</a>
  2. <br />
  3. <iframe
  4. srcdoc="<em>点击上面的打开百度</em>"name="baidu"width="600"></iframe>
  • 如果a标签的target值绑定了iframe内联框架的name值,则在当前页以画中画形式打开指定网址

锚点(任何元素添加ID即可以当做锚点使用)

1 在链接文本的href属性中,创建一个ID名,加#
2 在目标位置标签创建同样ID名,不加#

  1. <a href="#footer"> 跳到底部</a>
  2. <div id="footer" style="margin-top: 1000px">底部</div>
Correcting teacher:天蓬老师天蓬老师

Correction status:qualified

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!