Topic: Somebody give example?

Somebody give example for this questions..

What is the relationship between SGML,HTML , XML and HTML?

Re: Somebody give example?

XML , markup languages such as standard Generalized Markup Language(SGML) and Hypertext Markup Language(HTML) are also available.

SGML allows documents to describe their grammar by specifying the tag set used in the document and the structural relationship that these tags represent. This makes it possible to define individual formats for documents, handle large and complex documents, and manage large information repositories. However, SGML is complex and difficult for developers to master.
eg :

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"

"http://www.w3.org/TR/html4/strict.dtd">


HTML enables you to create documents and Web pages that can be read by all web browsers . It uses a set of tags in conformance with the SGML specification.

XML is a subset of SGML. It is designed to ease data exchange over the Internet.  Though HTML and XML are markup languages, they have different purposes. HTML is used for data presentation, whereas XML is used for data description and definition.

In short SGML is the parent of every one. Older HTML utilizes SGML and HTML 4.0 uses XHTML which derived from XML. (more...)

3 (edited by samanthacramer 2019-07-08 11:20:31)

Re: Somebody give example?

They are both markup languages. XML, in and of itself, is rather useless, it's a rough description of what should be in a markup language and requires the user (in most cases, programmers) to define their own language as a child-language of XML. XML is the framework which can then be built upon to do whatever it is you need to do. In fact, HTML, in some sense, is a type of XML.  https://www.essayswritingservice.co.uk/

4 (edited by sabrinagilbe 2020-11-07 05:31:11)

Re: Somebody give example?

SGML, HTML, and XML are all markup languages. The term "markup" originated from editors making revisions to writers' manuscripts. An editor "marks up" the manuscript to highlight certain fields. In computer technology, a markup language is a set of words and symbols that highlights text to define it for a web document. For example, to separate paragraphs and put letters in a boldface type, web designers use markup language. Once you understand the roles SGML, HTML, and XML play in web design, you'll see the kinship these distinct languages have with each other. In a nutshell, SGML, HTML, and XML is a family of languages that help make websites functional and web design dynamic krogerfeed