markup

Class or ID on Body Tag

I've been applying an ID to the body tag of my HTML documents lately to allow greater CSS control (#9). Recently the though occurred to me that I could do exactly the same thing by applying a class to the body tag. I want to know positives and negatives of each choice. If I have multiple pages where the body tag has the same ID, is it be...

Is unordered list necessary on the following example?

As it's valid markup, I have done the following; <div class="list"> <a href="#">Link 1</a> <a href="#">Link 2</a> </div> My question is, does it have to be written as this; <ul class="list"> <li><a href=...

Is there such a thing like a Printer-Markup-Language

I like to print a document. The content of the document are tables and text with different colors. Is there a lightwight printer-file-format which i can use like a template? PS, PDF, DOC files i think are to heavy to parse. May there exist some XML or YAML file format which i can Easy create (maybe with a WYSIWYG-Editor) Can parse and...

How can I make table cell span multiple lines in MultiMarkdown?

I'm using Text::MultiMarkdown to print from Perl to HTML. I would like to create a table where some of the cells contain a few strings, each in a separate line within the cell (see "four five six" in the picture below). Can I do that? ...

Potential pitfalls with my new markup language?

Something that's really bothered me about XHTML, and XML in general is why it's necessary to indicate what tag you're closing. Things like <b>bold <i>bold and italic</b> just italic</i> aren't legal anyways. Thus I think using {} makes more sense. Anyway, here's what I came up with: doctype; html { head { title "my webpage" javascript...

Does Razor syntax provide a compelling advantage in UI markup?

I notice Scott Guthrie is starting to mention Razor a fair bit on his blog but I'm just not that sure that it's a good fit for my style. Granted it's a fairly unfamiliar style for someone who's pretty used to a "standard" sort of ASP.Net markup (content place holders and inline code), but it just feels like a lot of additional pages to ...

What's a good markup language to write user manuals in?

Developers need to write some manuals. Word sucks so we're killing it as fast as possible. So, what are good tools that people actually use? I'm perfectly ok with, and prefer, some kind of markup. LateX is a bit over the top and IIRC, rather tricky to modify the output in. I've looked at Sphinx (seems nice, has nice PDF, and we use Py...

XML in markup, any ideas why?

I am doing some research on a motorola site and came across a ton of weird markup and wanted to get any ideas on why this is used or why it is a good idea? Using this page as the example http://bit.ly/bRWpQX You can view source and see tons of tags like <title xml:lang="en" lang="en" <html xmlns="http://www.w3.org/1999/xhtml" lang=...

A comparison of markup languages: markdown, markup, wikiformat, restructuredtext,bbcode

This is a collection of markup language comparison, which may cover the below points, please don't close this question. easy to write. easy to read. integration for program languages. convert tools for html/pdf other staffs. ...