html注释引用公共头部

HTML注释 (HTML Comments)

To insert a comment in an HTML document, the comment tags are used. The comments are used to provide some information that could be useful for anyone who views the code of the webpage. The comments can be inserted by any number of times within the webpage. Also, a notable point is that the comments are not visible on the webpage. That means the text in the comments are ignored by the web browser and thus it is not visible on the webpage.

在HTML文档中插入注释 ,请使用comment标签 。 注释用于提供一些信息,这些信息对于查看网页代码的任何人都可能有用。 注释可以在网页中插入任意次。 另外,值得注意的一点是,注释在网页上不可见。 这意味着注释中的文本被网络浏览器忽略,因此在网页上不可见。

The HTML comments are placed between the symbols <!-- text -->

HTML注释放在符号<!-文本->之间

The syntax of the comment tag is as,

comment标记的语法为

    <!--
This is a comment in the HTML document.
-->

The comments could be inserted in wherein the document. It increases the readability of the code in the document. Also, the comments in HTML are supported by almost all of the present-day browsers. These comments are multi-line comments.

注释可以插入文档所在的位置。 它提高了文档中代码的可读性。 而且,几乎所有当今的浏览器都支持HTML中的注释。 这些评论是多行评论。

Below is an example to illustrate the use of comments,

以下是说明注释用法的示例,

<!-- The sample HTML code -->
<html>
<body>
<p>Line before the comment.</p>
<!--
This is the comment line
any text can be written here
that will not display on the webpage.
-->
<p>Line after the comment.</p>
</body>
</html>

Output

输出量

HTML报价 (HTML Quotation)

<q> elements: The quotations in HTML document are added by using the <q> tag. The text which is to be displayed in quotes is written in between the <q> tag.

<q>元素: HTML文档中的引号是使用<q>标记添加的。 要在引号中显示的文本写在<q>标记之间。

Example:

例:

    <p>Welcome at <q>IncludeHelp</q>.</p>

Output

输出量

Welcome at "IncludeHelp".

The <q> tag is used for the small quotation in the text.

<q>标记用于文本中的小引用。

<blockqoute> element

<blockqoute>元素

The <blockquote> element is also used for creating quotations. But it is somewhat different from the <q> element. Unlike the <q> tag, the <blockqoute> do not put quotations(") in the text, but it changes the alignment of the text to make it different from other texts on the webpage. The browser generally intends the content in the BLOCKQUOTE tag.

<blockquote>元素也用于创建报价。 但这与<q>元素有些不同。 与<q>标记不同, <blockqoute>不会在文本中加上引号( “ ),但会更改文本的对齐方式,使其与网页上的其他文本有所不同。浏览器通常将内容放在BLOCKQUOTE中标签。

An example of <blockqoute> tag

<blockqoute>标签的示例

<!-- The sample HTML code -->
<html>
<body>
<p>
the text is blockqoute is quoted differently then the other text
<blockquote> some text in the BLOCKQOUTE element </blockquote>
</p>
</body>
</html>

Output

输出量

<address>元素 (<address> element)

The <address> element specifies an address within the webpage and the text that is inside the address tag would be emphasized. It also has both the tags: opening and closing tags.

<address>元素指定网页内的地址,并且地址标签内的文本将被强调。 它还具有两个标签:开始和结束标签。

An example of <address> tag

<address>标签的示例

<!-- The sample HTML code -->
<html>
<body>
<address>
<p>
Address:<br>
123-block, LN road<br>
Sector-110, Delhi
</p>
</address>
</body>
</html>

Output

输出量

<abbr>元素 (<abbr> element)

The <abbr> element is used to define a text as an acronym or abbreviations. The title attribute can be used to show the full version of the abbreviation/acronym when you mouse over the <abbr> element. It has both opening and closing tags.

<abbr>元素用于将文本定义为首字母缩写词或缩写。 当您将鼠标放在<abbr>元素上时,title属性可用于显示缩写/缩写的完整版本。 它同时具有开始和结束标签。

An example of <abbr> tag

<abbr>标签的示例

<!-- The sample HTML code -->
<html>
<body>
<p>
place your mouse over the following text :
<abbr title=" World Wide Web "> www </abbr>
</p>
</body>
</html>

Output

输出量

翻译自: https://www.includehelp.com/html/html-comments-and-quotations.aspx

html注释引用公共头部

html注释引用公共头部_HTML注释和引用相关推荐

  1. maven引用公共包_Maven项目怎样引用其他项目/或者jar包-阿里云开发者社区

    惯例: 我是温浩然: 现在越来越多的项目都用Maven进行管理jar包,我这里说的是,Maven怎样引用本地Maven项目. 一个项目从SVN上下载下来,先在本地删除(只是在工作环境中删除,不要删除文 ...

  2. java引用公共类_使用键引用从Java公共类获取值 - java

    我们有一个Java公共类, public class Test { public class ob1 { public static final String test = "T1T1&qu ...

  3. Thymeleaf选择器引用公共片段

    引用公共片段 可以使用选择器,引用公共片段 ~{templatename::selector} 模板名::选择器 侧边栏 设置一个id属性 <!--sidebar--> <nav c ...

  4. 自定义Xcode 文件头部的注释

    在Xcode10中新建文件,系统会自动在新建文件的头部添加注释模板,如下: 有时候我们可能有特殊的需求想要自定义这些注释,在Xcode9之后,苹果也给我们提供了方法,可以很方便的修改这些默认注释. 1 ...

  5. 如何让html引用公共的头部和尾部(多个html文件公用一个header.html和footer.html)

    文章目录 如何实现多个.html静态页,引用同一个header.html和footer.html文件? HTML如何引用公共的页眉头部header.html文件和尾部footer.html文件? 首先 ...

  6. word怎么设置图片编号(图片下标,图片标签,图片序号,图片注释,题注)(交叉引用)

    参考文章1:word怎么设置图片自动编号 参考文章2:WORD教学五(论文排版之论文中的图表跟随章节插入题注) 参考文章3:题注或页码中不含章节号请使用"开始"选项卡下的" ...

  7. vim插件的安装方式 -- vim注释插件和doxygen函数注释生成插件-ctrlp插件-tabular等号对齐 插件...

    使用unzip的时候 指定 -d选项, 是说明解压到的 目标地址. 这个参数还是比较方便的, 比直接unzip到当前目录, 然后在去拷贝到目标目录, 然后再删除当前目录中的解压文件夹, 方便多了. 使 ...

  8. 基因组注释3.基因的功能注释Prokka

    基因组注释的前两篇为大家讲解了关于基因组组成成分分析(包括重复序列的识别.非编码基因和编码基因预测等)的内容,今天,将重点介绍如何进行基因的功能注释. 基因的功能注释 获得基因结构信息后,我们希望能够 ...

  9. c++ doxygen 注释规范_C语言代码注释参考

    简述 该参考是基于Doxygen注释规范进行简单归纳,可以适当根据自己的需求进行约定. Doxygen可以从一套归档源文件开始,生成HTML格式的在线类浏览器,或离线的LATEX.RTF参考手册.简单 ...

最新文章

  1. tf.variable_scope 参数
  2. 深度学习贝叶斯,这是一份密集的6天速成课程(附视频与PPT)
  3. Java并发——ReentrantLock
  4. php 应用程序错误,php – 应用程序中的错误处理函数
  5. oracle datetime
  6. linux关机_【linux】 不要再暴力关机了,讲讲我最近遇到的问题和完美解决方案...
  7. python学习笔记四-列表
  8. 带你了解DDoS攻击的原理,让你轻松学会DDoS攻击原理及防护措施
  9. xslt 标签取集合第一条数据_1+x证书Web前端开发中级理论考试(试卷1)
  10. android中的xml布局文件如何引用另一个xml布局文件,引用另一个layout.xml文件而不复制它...
  11. 从JDK中,我们能学到哪些设计模式?
  12. 空中最亮的星用计算机弹数字,赤峰——夜空中最亮的星_数字展示在线
  13. java垃圾回收机制GC
  14. 「备战春招/秋招」美团Java面经总结终结篇(附详解答)
  15. mx350显卡天梯图_2020年显卡天梯图(2020.04月更新)
  16. Excel 空值填充
  17. java layout各布局_java-Layout(布局管理器)
  18. Rstudio代码自动格式化:styler
  19. 泰坦尼克号沉船数据分析与可视化、数据建模与分类预测【Python | 机器学习-Sklearn】
  20. SQLServer数据库设置主键和主键自增

热门文章

  1. 前端工程师有哪些面试技巧值得掌握?
  2. mlse均衡器matlab,基于LMS自适应均衡器matlab仿真.doc
  3. python类继承中构造方法_第8.3节 Python类的__init__方法深入剖析:构造方法与继承详解...
  4. CSS3新特性应用之用户体验
  5. html 语义化标签拾遗
  6. css高度已知,左右定宽,中间自适应三栏布局
  7. 面试中关于多线程同步,你必须要思考的问题
  8. THINKPHP增删改查--(改)
  9. 【SQL】分组数据,过滤分组-group by , having
  10. Dotnet Core