Home >Web Front-end >HTML Tutorial >LN :跟着W3School学HTML 002_html/css_WEB-ITnose

LN :跟着W3School学HTML 002_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:17:221196browse

LN :跟着W3School学HTML 002

内容参考自W3School

HTML 教程

HTML标题

  • HTML标题(Heading)是通过

    -

    等标签进行定义的。
  • 实例解析

    <h1>This is heading 1</h1><h2>This is heading 2</h2><h3>This is heading 3</h3>

    效果展示

    This is heading 1

    This is heading 2


    This is heading 3

    HTML 段落

  • HTML 段落是通过

    标签进行定义的。

  • 实例解析

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

    效果展示

    This is a paragraph.

    This is another paragraph.

    HTML 链接

  • HTML 链接是通过 标签进行定义的。在 href 属性中指定链接的地址。
  • 实例解析

    <a href="http://www.cnblogs.com/renleimlj/">This is a link</a>

    效果展示
    This is a link to my blog.

    HTML 图像

  • HTML 图像是通过 LN :跟着W3School学HTML 002_html/css_WEB-ITnose标签进行定义的。图像的名称和尺寸是以属性的形式提供的。
  • 实例解析

    <img  src="我的照片哈哈哈.jpg"    style="max-width:90%"  style="max-width:90%" / alt="LN :跟着W3School学HTML 002_html/css_WEB-ITnose" >

    效果展示

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn