比较类似术语之间的差异

Difference Between

家 / Technology / IT / 互联网 /Difference Between HTML and SGML

Difference Between HTML and SGML

2018年3月21日Posted byLithmee

Key Difference – HTML vsSGML

有多种用于网络开发的技术,例如CSS,JavaScript,PHPetc. Among all these, the base language for web development is HTML. It is a markup language that consists of tags. There are specific tags for each task. HTML can be used to change the structure of the web page. Adding paragraphs, changing headings, adding lists and tables are some tasks that can be performed using HTML. There are several versions of HTML. The latest version isHTML5。It has many additional features to build effective web applications。HTML is the standard markup language for creating web pages and web applications. SGML is a standard for defining generalized markup languages for documents。那就是key differencebetween HTML and SGML. HTML is based on SGML. This article discusses the difference between HTML and SGML.

内容

1.Overview and Key Difference
2.What is HTML
3.What is SGML
4.HTML和SGML之间的关系
5.并排比较 - html vs sgml以表格形式
6。概括

What is HTML?

HTML stands for Hyper Text Markup Language. Most web pages are connected together. A link to another web page is called a Hypertext. HTML contains tags that instruct the web browser on how to create the structure of the page. The headings, paragraphs, lists, tables come under web page structure.

每个HTML文件都有顶部的文档类型声明。它告诉浏览器文档中使用的HTML版本。网页的详细信息在部分中。在网页中显示的内容在部分内。有很多标签可以执行各种任务。

,

等用于创建标题。

标签用于分开段落。大多数标签具有相应的起始标签和关闭标签。例如

,

。 There are formatting tags as well. The is used to bold the text. The tag is used to underline the text. The tag is used to make the content italic. Some tags contain the starting and ending tags itself. The
is used to create a horizontal line in the page. If the programmer only writes
without the slash, it still works. But it will not work with more precise XHTML. Those are some common HTML tags.

Difference Between HTML and SGML

Figure 01: Simple HTML Document

在Web浏览器中打开上述HTML页面时,如下所示。

Difference Between HTML and SGML_Figure 02

图02:Web浏览器中的HTML页面

根据上述HTML文件,文档声明位于顶部。它指定HTML文档使用HTML5。头部和主体部分包含在启动标签中,并关闭标签。网页的详细信息包含在“头部”部分中。要显示的内容在身体部分中。

标签定义了标题。用于凸起特定的文本。页面中有两个段落。

HTML可以与其他技术结合使用。当它与CSS结合使用时,网页看起来更可观。与JavaScript连接使网页更加互动。它是用于创建网页的最常见的标记语言。

什么是SGML?

SGMLstands for Standard Generalized Markup Language. It is a standard for defining markup languages. HTML is based on SGML. It is not in itself a document language. It is a description of how to specify the document. Therefore, it is a metadata. SGML was originally designed to share machine readable large projects in government and other industries. An SGML document consists of three sections. There is a declaration. The prologue contains the DOCTYPE declaration with other markup declarations. Then the instance itself. It contains one top most element and its content.

HTML和SGML之间的关键区别

Main advantages of SGML are it can be created by considering the document structure than thinking about the appearance characteristics. They will be more portable because an SGML compiler can interpret any document by reference to its document type definition (DTD). Documents originally intended for the print medium can easily be re-adapted for other media, such as the computer display screen.

SGML是指定数字文档类型和内容的描述的国际标准。SGML的一个缺点是它不支持样式表。由于SGML的强大设置,该软件变得未开发。除此之外,数据互换在SGML中也很复杂。

What is the Relationship Between HTML and SGML?

  • HTML基于SGML。

What is the Difference Between HTML and SGML?

html vs sgml

HTML is the standard markup language for creating web pages and web applications. SGMLis a standard for defining generalized markup languages for documents.
Stands For
HTML代表超文本标记语言。 SGMLstands for Standard Generalized Markup Language.

概括–HTML vsSGML

Every organization nowadays maintain web pages. There are various technologies used for web applications. This article discussed the difference between HTML and SGML. HTML is the standard markup language for creating web pages and web applications. SGML is a standard for defining generalized markup languages for documents. That is the difference between HTML and SGML. HTML is based on SGML.

Reference:

1.“What Is SGML (Standard Generalized Markup Language)? – Definition from WhatIs.com.” SearchMicroservices.Available here
2.“Standard Generalized Markup Language.” Wikipedia, Wikimedia Foundation, 18 Mar. 2018.Available here
3.“HTML Overview.” ,Tutorials Point, 8 Jan. 2018.Available here

Image Courtesy:

1.’SGML’ By Dreftymac at English Wikipedia – SGML.svg,(CC BY-SA 2.5)viaCommons Wikimedia

相关文章:

Key Difference Between HTML and XHTMLDifference Between HTML and XHTML HTML和CSS之间的差异 PHP的区别nd HTML Difference Between Web Design and Web Development XML模式和DTD之间的差异

Filed Under:互联网标记为:Compare HTML and SGML,HTML,HTML和SGML的差异,HTML and SGML Similarities,HTML Definition,HTML Stands For,HTML使用,html vs sgml,SGML,SGMLDefinition,SGML代表,SGML使用

关于the Author:Lithmee

Lithmee Mandula是计算机系统工程的孟加(荣誉)。她目前正在攻读计算机科学硕士学位。她在写作和研究方面的兴趣领域包括编程,数据科学和计算机系统。

发表评论取消回复

Your email address will not be published.Required fields are marked*

请求文章

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

冠状病毒和SARS之间的差异

冠状病毒和SARS之间的差异

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

你可能喜欢

Difference Between Blunt and Sticky End Ligation

Difference Between Blunt and Sticky End Ligation

Difference Between Lawyer and Attorney

Difference Between Knife and Dagger

Difference Between Knife and Dagger

Difference Between Abduction and Adduction

Difference between Whole Life Insurance and Term Life Insurance

Latest Posts

  • What is the Difference Between Tecfidera and Vumerity
  • 变构调制和共价调制有什么区别
  • What is the Difference Between Taeniasis and Cysticercosis
  • What is the Difference Between Aspartame and Saccharin
  • 白血病和白细胞减少有什么区别
  • What is the Difference Between Histoplasmosis and Toxoplasmosis
  • 家
  • Vacancies
  • 关于
  • 请求文章
  • 联系我们

Copyright © 2010-2018Difference Between。All rights reserved.Terms of Use和隐私政策:合法的。