Why do we need markup languages?

  • Thread starter Thread starter Avichal
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the necessity of markup languages, particularly HTML, in the context of web development. Participants explore the role of markup languages compared to graphical user interface (GUI) software that can generate code automatically.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Technical explanation

Main Points Raised

  • Some participants question the need for HTML when GUI software like Microsoft Word or Dreamweaver can perform similar tasks without manual coding.
  • Others argue that while GUI tools can simplify the process, they ultimately generate HTML code that browsers require to render web pages.
  • A participant notes that Microsoft Word's proprietary format has evolved to an XML-based format, raising questions about browser compatibility with various document formats.
  • It is suggested that professional web developers must understand HTML, as WYSIWYG (What You See Is What You Get) editors may not suffice for dynamic web applications.
  • One participant emphasizes that all text editors use some internal format for document formatting, likening this to a markup language, even if it is not visible to the user.
  • Another viewpoint is presented that markup languages serve to flatten structured data for transmission and storage, highlighting their importance in maintaining document integrity.

Areas of Agreement / Disagreement

Participants express differing opinions on the necessity of markup languages versus GUI tools, with no consensus reached on the best approach for web development.

Contextual Notes

Some participants mention the limitations of GUI tools in handling dynamic web applications and the implications of using proprietary formats versus standardized markup languages.

Avichal
Messages
294
Reaction score
0
I just started HTML - and I am wondering why do we need it? We have software that can do all the style and marking-up jobs like ms-word so instead of writing the code why can't we use that?
 
Computer science news on Phys.org
Avichal said:
I just started HTML - and I am wondering why do we need it? We have software that can do all the style and marking-up jobs like ms-word so instead of writing the code why can't we use that?

Have you tried creating a modern website using MS Word? Software like Dreamweaver, has come a long way, but there is still a ton of flexibility and customization ability in writing the code manually.

fyi, even if you use Dreamweaver it still creates the HTML. It's how the browser reads the website.
 
Until a few years ago, Microsoft Word's document format was proprietary, unlike HTML. Recent versions of Word use an XML-based document format. I don't know how easy or practical it would be for Web browsers to render it.

In any event, Word isn't the only word processor out there (even if it is the 6,000,000 pound gorilla :rolleyes:) and it would be impractical for web browser developers to support multiple markup languages.
 
I didn't really mean MS word - just meant that because we have software like those that can do customization in a graphical interface why do we still stick to codes?
 
Avichal said:
I didn't really mean MS word - just meant that because we have software like those that can do customization in a graphical interface why do we still stick to codes?

As someone mentioned above you can use Dreamweaver to generate html documents. This is a GUI. It can make life much easier in many instances.

Even so, you are still generating html code which can be understood by webbrowsers.

Lets assume you wanted to use "Microsoft Word" or any other processor. You are still generating some kind of code from it that can be transferred from a webserver, and interpreted by webbrowsers.

Without a markup language how is your webbrowser supposed to know where to place an image? Using a GUI environment does NOT remove the necessity of a markup language. It simply removes the necessity of physically coding it yourself.
 
You can use software to do that. Lots of people do. For simple static pages it works just fine.

However, Professional Web Developers need to know HTML. WYSIWYG just doesn't cut it for dynamic web applications for a lot of reasons.
 
Thank you guys
 
I have a feeling you are missing a very important thing. Every text editor uses some internal format to keep track of the way your document is formatted. Just because it is hidden doesn't mean it doesn't exist - and when you think about its function it is just another markup language. Hidden, but it is there - so the answer to your question is "we need them, because without them we can't format documents".

Sure, if you think about markup languages in terms of following XML ideas and specifications, you can argue that things like RTF or TeX are not markup languages - but in the general scheme of things they are.
 
Markup languages are a means of flattening structured data so that it can be transmitted or stored intact and later resurrected into its original form. Structured data has metadata associated with the interconnect its parts such as ids and other attributes.

Some interesting but discussion on the need for and uses of structured data are mentioned in this wikipedia article:

http://en.wikipedia.org/wiki/Structured_data
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
1K
Replies
65
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 44 ·
2
Replies
44
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
Replies
38
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K