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
503
votes
14 answers

How to mark-up phone numbers?

I want to mark up a phone number as callable link in an HTML document. I have read the microformats approach, and I know, that the tel: scheme would be standard, but is quite literally nowhere implemented. Skype defines, as far as I know, skype: and…
Boldewyn
  • 81,211
  • 44
  • 156
  • 212
278
votes
6 answers

Markdown vs markup - are they related?

I'm using markdown to edit this question right now. In some wikis I used wiki markup. Are they the same thing? Are they related? Please explain. If I want to implement one or the other in a web project (like stackoverflow) what do I need to use?
Ron Harlev
  • 16,227
  • 24
  • 89
  • 132
276
votes
9 answers

Section vs Article HTML5

I have a page made up of various "sections" like videos, a newsfeed etc.. I am a bit confused how to represent these with HTML5. Currently I have them as HTML5
s, but on further inspection it looks they the more correct tag would be…
James Hay
  • 7,115
  • 6
  • 33
  • 57
227
votes
8 answers

Is there a way to comment out markup in an .ASPX page?

Is there a way to comment out markup in an .ASPX page so that it isn't delivered to the client? I have tried the standard comments but this just gets delivered as a comment and doesn't prevent the control from rendering.
MikeJ
  • 14,430
  • 21
  • 71
  • 87
188
votes
5 answers

open link in new tab with github markdown using target="_blank"

Is there a way to let a Link, written in githubs markdown, open in a new tab? All posts I have found related to this suggests to use HTML and target="_blank", which is fine with me, but that doesn't work. For example this link:
Plaul
  • 7,191
  • 5
  • 19
  • 22
177
votes
1 answer

How do you indent a bulleted list in a README file using GitHub flavored markdown?

I know I can use asterisks to do something like this: list item1 list item2 but I was expecting something like ** to indent it one further. Is it possible?
Alaa Awad
  • 3,612
  • 6
  • 25
  • 35
148
votes
14 answers

How to make PDF file downloadable in HTML link?

I am giving link of a pdf file on my web page for download, like below Download Brochure The problem is when user clicks on this link then If the user have installed Adobe Acrobat, then it opens the file in the same…
djmzfKnm
  • 26,679
  • 70
  • 166
  • 227
142
votes
25 answers

How can HTML5 "replace" Flash?

A topic of debate that's seen a resurgence since the unveiling of the iPad is the issue of Flash versus HTML5. There are those that suggest that HTML5 will one day supplant/replace Adobe Flash. I do not develop software that runs in a browser, so…
Mike Willekes
  • 5,960
  • 10
  • 33
  • 33
130
votes
22 answers

Table with fixed header and fixed column on pure css

I need to create a html table (or something similar looking) with a fixed header and a fixed first column. Every solution I've seen so far uses Javascript or jQuery to set scrollTop/scrollLeft, but it doesn't work smoothly on mobile browsers, so…
panfil
  • 1,489
  • 3
  • 13
  • 19
128
votes
13 answers

Jade: Links inside a paragraph

I'm trying to author a few paragraphs with Jade, but finding it difficult when there are links inside a paragraph. The best I can come up with, and I'm wondering if there's a way to do it with less markup: p span. this is the start of the…
mahemoff
  • 44,526
  • 36
  • 160
  • 222
123
votes
17 answers

href overrides ng-click in Angular.js

When both, href and ng-click attributes are defined: Sign out the href attribute takes precedence over ng-click. I am looking for a way to raise priority of ng-click. href is required for Twitter Bootstrap, I…
Paul
  • 25,812
  • 38
  • 124
  • 247
114
votes
2 answers

How to create a nested list in reStructuredText?

I am trying to create a properly nested list using the following code (following Sphinx and docutils docs): 1. X a. U b. V c. W 2. Y 3. Z I expect this to result in two OLs but I get the following output instead:
muhuk
  • 15,777
  • 9
  • 59
  • 98
107
votes
7 answers

Working with README.md on github.com

I am not too familiar with the lightweight markup language used by github when updating README files. Where are the resources which I can read up on how to write the appropriate markup syntax for my open source library's README/wiki files? And is…
Calvin Cheng
  • 35,640
  • 39
  • 116
  • 167
100
votes
8 answers

How to escape < and > inside
 tags

I'm trying to write a blog post which includes a code segment inside a
 tag. The code segment includes a generic type and uses <> to define that type. This is what the segment looks like:
    PrimeCalc calc = new PrimeCalc();
   …
urini
  • 32,483
  • 14
  • 40
  • 37
89
votes
5 answers

Compare and contrast the lightweight markup languages

Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Haml doesn't count). See also:…
JasonSmith
  • 72,674
  • 22
  • 123
  • 149
1
2 3
89 90