Questions tagged [markup]

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include HTML, XML, SGML, and markdown. The markup can typically only be seen when editing a document, not when viewing it.

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include , , , and .

The markup can typically only be seen when editing a document, not when viewing it.

1350 questions
40
votes
2 answers

Inline Code in DokuWiki

I'm looking for a way to include code as part of a paragraph in DokuWiki like I can by adding backtick escapes in StackOverflow like _so_. Simply adding bla puts code on it's own line.
Alan Turing
  • 12,223
  • 16
  • 74
  • 116
37
votes
4 answers

How can I avoid browser prepopulating fields in my registration form?

autocomplete="off" is not what I am after. Basically, on my registration form there are fields "phone" and "password" placed one above the other. (see screenshot) The "phone" field gets, annoyingly, prepopulated with a username, as I guess what the…
Peter Perháč
  • 20,434
  • 21
  • 120
  • 152
37
votes
2 answers

Semantic HTML markup for FAQs

I want to build a questions and answers page. It is not a list, it is not tabular data and I am not sure if or how I should use
. What html elements should be used to construct an FAQ to ensure semantic correctness and accessability?
Raanan Avidor
  • 3,533
  • 4
  • 25
  • 32
34
votes
2 answers

How do you put HTML or XML into a YAML?

I would like to store HTML snippets inside a YAML file. What is the best way to do that? Something like: myhtml: |
Piotr Zolnierek
  • 1,030
  • 1
  • 10
  • 19
30
votes
2 answers

vertical line between latex minipages

right now I have a latex section that looks like \begin{minipage}{0.35\textwidth} %left column ... \end{minipage} \hfill \begin{minipage}{0.55\textwidth} %right column ... \end{minipage} This makes a nice looking two column layout, but I would…
David
  • 757
  • 1
  • 7
  • 17
30
votes
4 answers

Python module for wiki markup

Is there a Python module for converting wiki markup to other languages (e.g. HTML)? A similar question was asked here, What's the easiest way to convert wiki markup to html, but no Python modules are mentioned. Just curious. :) Cheers.
Brian M. Hunt
  • 81,008
  • 74
  • 230
  • 343
29
votes
1 answer

How do you make a submit button in HTML5?

Given W3C's HTML5 spec for the submit button: A button element must have both a start tag and an end tag. what's an example of a submit button with a start and end tag?
29
votes
6 answers

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…
Jo Sprague
  • 16,523
  • 10
  • 42
  • 62
29
votes
6 answers

How do I add space between items in an ASP.NET RadioButtonList

I've got an ASP.NET RadioButtonList that displays four items using RepeatDirection="Horizontal" to display them on a single line. I'm using RepeatLayout="Flow" to avoid the markup for a table. However, this causes the items in the list to be…
JeffK
  • 3,019
  • 2
  • 26
  • 29
27
votes
4 answers

how to put css max-left or min-left position to absolute object?

I have an element with: position:absolute; left: 70%; can I configure element for example to not move from left more than 900px? something like max-width but for positioning?
zur4ik
  • 6,072
  • 9
  • 52
  • 78
27
votes
1 answer

Insert HTML markup using Meteor

How can I display marked up string data in a Meteor template? I need to display a string from my database that contains some basic HTML tags such that the resulting text is properly formatted. It currently just displays the markup text. Here's the…
Alex Brown
  • 295
  • 3
  • 7
26
votes
5 answers

What are appropriate markup languages for users with disabilities?

Suppose you're developing a web site and blind users will be a significant chunk of your target market. If the web site includes document editing functionality, what would be appropriate WYSIWYM tools? Are languages like Markdown, Textile and Wiki…
Richard JP Le Guen
  • 28,364
  • 7
  • 89
  • 119
26
votes
4 answers

What is the best way to style a list of checkboxes

What I'd like to achieve is a layout like this some label [ ] checkbox 1 [ ] checkbox 2 [ ] checkbox 3 [ ] checkbox 4 [ ] represents a checkbox What markup and CSS would be best to use for this? I know this…
MarcS
  • 450
  • 1
  • 8
  • 14
25
votes
2 answers

Stackoverflow markup for javadoc

After a while, I'm back writing JavaDoc. At the same time I grew fond of SO's markup, which is way more readable in plaintext than HTML. (Even the back tick which I never used before, ever). /** * I'm talking about things like…
vbence
  • 20,084
  • 9
  • 69
  • 118
25
votes
4 answers

How to escape quotes in inline styles?

If I have an inline stylesheet, can and I want - for some strange reason - use the same quotes that u used to encapsulate the attribute value in my html code inside the css. Is one of these correct?
The Surrican
  • 29,118
  • 24
  • 122
  • 168
1 2
3
89 90