zoukankan      html  css  js  c++  java
  • HTML 格式化

    格式化标签:

    <!DOCTYPE HTML>
    <html>
    <body>
    
    <b> This text is bold </b>                     # <b> 用于定义粗体字
    <i> This text is italic </i>                   # <i> 用于定义斜体字
    <big> This text is big </big>                  # <big> 用于定义大号字体
    <em> This text is emphasized </em>             # <em> 用于定义着重字体
    <small> This text is small </small>            # <small> 用于定义小号字体
    <ins> This text is inserted </ins>             # <ins> 用于定义下划线字体
    <strong> This text is strong </strong>         # <strong> 用于定义加重语气
    This text contains <sup> superscript </sup>    # <sup> 用于定义上标字
    This text contains <sub> subscript </sub>      # <sub> 用于定义下标字
    <del> This text is deleted </del>              # <del> 用于定义删除字
    <abbr title="Kubernetes"> k8s </abbr>          # <abbr> 用于缩写,当鼠标移动到缩略词语上时,title 可用于展示表达的完整版本
    <acronym title="Kubernetes"> k8s </acronym>    # <acronym> 跟 <abbr> 用法一致,在 HTML5 中 <acronym> 标签已经被 <abbr> 替代了
    <bdo dir="ltr"> hello world </bdo>             # <bdo> 用于控制文本方向,ltr 表示从左到右输出文本
    <bdo dir="rtl"> hello world </bdo>             # <bdo> 用于控制文本方向,rtl 表示从右到左输出文本
    
    </body>
    </html>

    效果:

    This text is bold
    This text is italic
    This text is big
    This text is emphasized
    This text is small
    This text is inserted
    This text is strong
    This text contains superscript
    This text contains subscript
    This text is deleted
    k8s
    k8s
    hello world
    hello world

         

  • 相关阅读:
    wpf 用c#代码给img指定uri
    c 指针作为出参
    wpf获得系统毫秒数
    绑定元素的长宽(Canvas的子类自动伸展)
    PB与COM之关于创建COM,MTS, and COM+组件(1)
    ASA破解密码
    遭遇奸商(显卡篇)
    “启动Word时提示出错,只能用安全模式才能打开”的解决方法
    PowerSocket对象与HostName
    制做集成SATA驱动的XP安装盘
  • 原文地址:https://www.cnblogs.com/pzk7788/p/10397449.html
Copyright © 2011-2022 走看看