Questions tagged [markup]

19 questions
109
votes
6 answers

Why is XML called a "language" exactly?

I've been wondering why XML has an L in its name. By itself, XML doesn't "do" anything. It's just a data storage format, not a language! Languages "do" things. The way you get XML to "do" stuff, to turn it into a language proper, is to add xmlns…
Mr Lister
  • 1,599
  • 3
  • 12
  • 18
55
votes
8 answers

Why would one bother marking up properly and semantically?

Note that I (try) to mark up as semantically as possible because I like they way it looks and feels, but not because I'm aware of any other stunning advantages. The point of my question is to be able to educate others Well, I've seen a lot of…
Madara's Ghost
  • 8,787
  • 9
  • 25
  • 33
43
votes
5 answers

Programming Language vs Markup Language vs Scripting Language

Up until now I don't know the KEY differences between these three. When someone asks me about this, I only tell them that C# is a programming language, HTML and XML are Markup Languages, and JavaScript and VBScript are scripting languages. But what…
rcadaoas
  • 551
  • 1
  • 6
  • 8
22
votes
4 answers

I've been told HTML is a markup language, C++ is a programming language, what could make that difference?

My programming friends are always telling me that HTML is a markup language and C++ is a programming language. When I ask them what's the difference, they never give me a reasonable answer. What could make one call C++ a programming language, and…
Lucas
  • 403
  • 5
  • 14
15
votes
5 answers

Storing in-text metadata in a discrete data structure

I am developing an application which will need to store inline, intext metadata. What I mean by that is the following: let's say we have a long text, and we want to store some metadata connected with a specific word, or sentence of the text. What…
8
votes
5 answers

Why is semantic markup given more weight for search engines?

This question follows directly from the part of an answer of this question - Why would one bother marking up properly and semantically? . I would like to understand why SEO techniques gives more weight to semantically correct mark up?
Geek
  • 5,107
  • 8
  • 40
  • 58
3
votes
2 answers

Semantics of heading levels in multiple sections in HTML5

I'm never quite sure what is the best, most semantic way to handle heading levels in HTML5 markup, when you have multiple sections. On one hand it makes sense to have an H1 heading as a title of a section, or an article, but it leads to these weird…
Viniter
  • 133
  • 3
3
votes
2 answers

Wiki/markup in enterprise as documentation

Why it is less common to use wiki/markup in enterprise as documentation? They use Word document instead. Wiki/markup are in text format, which is version control friendly.
linquize
  • 1,150
  • 1
  • 11
  • 20
2
votes
1 answer

Ideal way to define a table or grid in XML?

HTML
Month Savings
January $100
February $80
XAML
mpen
  • 1,889
  • 19
  • 29
2
votes
2 answers

Are there good reasons for avoiding the use of semantic HTML markup?

Background I have recently taken up a new job as a developer at a company where I have inherited an in-house CMS built approximately 5 years ago. The CMS constructs pages in XML which are then output to the page as HTML. Some of the markup is…
Candlejack
  • 133
  • 7
2
votes
1 answer

Suggestions for a CMS markup language for PHP

As a learning experience, and as project, I am attempting to write a CMS module for ZF2. One of the functionality I would like to have is the possibility of adding dynamic contents in the pages by calling PHP functions in the view scripts. However,…
Yanick Rochon
  • 509
  • 3
  • 11
1
vote
3 answers

Do markup languages ​​have the equivalent concept of `semantics` that you can find in C or C++?

Maybe I miss something, but do the so called markup languages have the equivalent concept of semantics that you can find in C or C++? Judging from how you parse the language, you don't really have too many options, there isn't too much context, you…
user2485710
  • 231
  • 2
  • 7
1
vote
1 answer

What is the best way to keep both html document structure and php control structure strongly visible in complex view file

I create a lot of views in my work as part of the common MVC pattern applied in web frameworks like Code Igniter and Cake. I also adhere to the following maxim as best I can: fat models and library objects doing the logic; skinny controllers…
Toni Leigh
  • 133
  • 6
1
vote
3 answers

Why are
,
and

I've noticed that even when a websites front end is coded in HTML 5 as evidenced by the , people rarely seem to use the new HTML 5
,
and
tags. Is it because people don't understand that you're supposed to…
leeand00
  • 472
  • 2
  • 12
1
vote
2 answers

Convert plain text to a pdf template

I have some articles (more than 200 pages) in plain text. It needs to be converted to an given PDF markup. I got some Photoshop files for the headers for every page and a list of requirements for the different elements. Which program would you…
user1386906
  • 113
  • 2
1
2