SGML (Standard Generalized Markup Language)

Introduction to SGML (SGML का परिचय) हिंदी
SGML (Standard Generalized Markup Language) एक standard language है जिसका उपयोग documents को structure करने के लिए किया जाता है। यह किसी document की content और structure को define करती है, न कि उसके presentation (look) को।
SGML को “markup language” कहा जाता है क्योंकि इसमें text के साथ tags का उपयोग करके information को organize किया जाता है।
SGML का उपयोग बड़े और complex documents को manage करने के लिए किया जाता है, जैसे technical manuals, government documents आदि।
English
SGML (Standard Generalized Markup Language) is a standard for defining the structure of documents. It is used to organize and describe the content of a document using tags.
It focuses on structure and meaning rather than appearance. SGML is used for managing large and complex documents.
SGML Example (उदाहरण)
SGML में document को tags की मदद से structure किया जाता है। नीचे एक simple example दिया गया है:
<!DOCTYPE book [
<!ELEMENT book (title, author, content)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
<!ELEMENT content (#PCDATA)>
]>
<book>
<title>Computer Fundamentals</title>
<author>Ravi Kumar</author>
<content>
This book explains basic concepts of computers and internet.
</content>
</book>