HTML equivalent markup language?

8

Just for the sake of curiosity, I've been researching and found nothing at all.

HTML is a text-marking language, and there are others like XML which is the only one with a clear explanation that I have found, but I have never seen / found other things that I can use from other markup languages.

There is another markup language that is widely used If not, why is there no other language so widespread? If so, what are the main languages? Is there any that in theory could be better than HTML?

    
asked by anonymous 08.08.2017 / 18:20

2 answers

4

HTML is a variation of XML (in fact this has changed a little, it turned out that XHTML is what it was like). As its name says (XML), it is an extensible markup language, so it has a basic idea of how the markup language should be, but the specific tags tags can be created as needed in their derivatives .

It is not that XHTML is XML, but part of a common basis for its creation. They live creating new markup languages, not all use this XML base.

Many people find this way a bit bureaucratic and verbose to create a statement. Some find that it is not powerful enough to identify all situations.

Many GUI technologies, ORM, database, or specific information exchange between agents use a variation of XML.

There is nothing that has exactly the same function as HTML which is the standard language for writing web pages. They could do something much better, probably not even based on XML. I know a person who has done something a lot more interesting, but the chance to see this implemented and adopted universally is zero:)

There would not be more than one default language. Although I think I should create something better to replace HTML.

Broadcasting depends on the point of view. The fact that a person does not know does not mean that it is not widespread. But HTML is so well-known for being used in very widespread technology, it has hitchhiked. And there is a fashion thing to make fashion more fashionable. There are people who develop for the web because they know how to develop for the web. That's how many people do it for the web, there are people who think they should only do it for the web. And doing for the web is using HTML.

Curiously, XML came up after HTML when they realized that this could be a generalization of HTML.

08.08.2017 / 18:39
8

There are several other markup languages that are used in other environments and contexts other than the web.

A great example is XAML , an XML-based markup language created and maintained by Microsoft. XAML is used by several Microsoft products, such as the Xamarin framework.

There are some alternatives to HTML, but in the end will be "transpiled" to HTML, after all, the browser does not know how to interpret these other languages. An example is the Haml language. Being better or worse is a matter of taste.

    
08.08.2017 / 18:23