zoukankan      html  css  js  c++  java
  • 2021.1.7

    基本的HTML标签(四个实例):

    (1)HTML 标题

    HTML 标题(Heading)是通过 <h1> - <h6> 等标签进行定义的。

    <h1>This is a heading</h1>
    <h2>This is a heading</h2>
    <h3>This is a heading</h3>

    (2)HTML 段落

    HTML 段落是通过 <p> 标签进行定义的。

    <p>This is a paragraph.</p>
    <p>This is another paragraph.</p>

    (3)HTML 链接

    HTML 链接是通过 <a> 标签进行定义的。

    <a href="http://www.w3school.com.cn">This is a link</a>

    注释:在 href 属性中指定链接的地址。

    (4)HTML 图像

    HTML 图像是通过 <img> 标签进行定义的。

    <img src="w3school.jpg" width="104" height="142" />

    注释:图像的名称和尺寸是以属性的形式提供的。

  • 相关阅读:
    JAVA流和File类
    JAVA的Socket
    JAVA反射
    JAVA线程
    JAVA集合
    052-214(新增70题2018)
    052-213(新增70题2018)
    052-212(新增70题2018)
    052-211(新增70题2018)
    052-210(新增70题2018)
  • 原文地址:https://www.cnblogs.com/marr/p/14900229.html
Copyright © 2011-2022 走看看