SGML Style

Author Topic: SGML Style  (Read 5405 times)

Offline beingchinmayTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 1
  • Posts: 73
  • Karma: 0
  • Gender: Male
  • I am Chinmay
    • Modular Kitchen Designer
SGML Style
« on: 08-24-2016, 07:05:41 »
The “classic” style of embedding PHP comes from SGML instruction processing tags. To use this method, simply enclose the PHP in <? and ?>. Here’s the “Hello world” example again:

Quote
<? echo "Hello, world"; ?>

This style, known as short tags, is the shortest and least intrusive, and it can be turned off so as to not clash with the XML PI(Process Instruction) tag in the php.ini initialization file. Consequently, if you want to write fully portable PHP code that you are going to distribute to other people (who might have short tags turned off), you should use the longer <?php ... ?> style, which cannot be turned off. If you have no intention of distributing your code, you don’t have an issue with telling people who want to use your code to turn on short tags, and you are not planning on mixing
XML in with your PHP code, then using this tag style is okay.


Offline saravjeet

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 4
  • Posts: 39
  • Karma: 0
    • Ecommerce Website Builder
Re: SGML Style
« Reply #1 on: 12-03-2016, 01:37:01 »
SGML (Standard Generalized Markup Language) is a standard for how to specify a document markup language or tag set. Such a specification is itself a document type definition (DTD). SGML is not in itself a document language, but a description of how to specify one.

Offline Lishmalinyjames

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 1
  • Posts: 595
  • Karma: 0
    • Oneplus Service Center in Chennai
Re: SGML Style
« Reply #2 on: 05-28-2021, 10:48:24 »
SGML can be used for publishing in its broadest definition - from single medium conventional publishing on paper to on-line multi-media database publishing. SGML can be used to produce files which can be read by people, and exchanged between machines and applications in a straightforward manner.

Online saravanan28

  • Trade Count: (0)
  • Sr. Member
  • ****
  • Thank You 2
  • Posts: 302
  • Karma: 0
Re: SGML Style
« Reply #3 on: 06-07-2021, 09:14:19 »
The Standard Generalized Markup Language (SGML, defined in [ISO8879]), is a language for defining markup languages. HTML is one such "application" of SGML. An SGML application consists of several parts: The SGML declaration. The SGML declaration specifies which characters and delimiters may appear in the application.

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
2392 Views
Last post 11-03-2011, 04:39:27
by manvbf
0 Replies
2412 Views
Last post 04-12-2013, 04:09:21
by GeorgeKappa
0 Replies
4303 Views
Last post 08-20-2016, 05:10:57
by beingchinmay
0 Replies
4181 Views
Last post 08-24-2016, 07:07:44
by beingchinmay
14 Replies
8520 Views
Last post 06-20-2021, 06:18:15
by Lishmalinyjames