markup

Are there any standalone HTML markup validation tools [closed]

。_饼干妹妹 提交于 2019-12-21 04:12:55
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Other than submit individual web pages for verification on the W3C site, are there any standalone tools that will do this job. Ideally this would be a visual studio plugin that could catch errors at design time but one that would just take a wep application url running locally would be good. Open source

Tool for testing Schema.org markup [closed]

邮差的信 提交于 2019-12-20 07:59:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Does anyone know of a good tool to test Schema.org (http://schema.org/) markup? The Google Rich Snippet tool does not support it properly. Even with the correct markup given, it says "Insufficient data to generate the preview." update: Now the Google Rich Snippet tool supports some schema.org markups. 回答1: This

Schema.org: What to use, Microdata or JSON-LD?

吃可爱长大的小学妹 提交于 2019-12-20 02:59:05
问题 The data markup Schema.org for search sites like Google, Yahoo!, Bing and Yandex is great for snippets. However, I perceive that most of webmasters use Microdata and almost never use JSON-LD. I learned about JSON-LD recently and I have some doubts: Could I use it without compability problems with search engine? 回答1: There can’t be a general answer: Each consumer (search engine, tool, etc.) has its own conditions (what it supports for which feature). Each syntax (JSON-LD, Microdata, RDFa, etc.

How to add custom HTML Tags to Visual Studio and Avoid Squiggly Lines

旧时模样 提交于 2019-12-19 16:53:54
问题 I'm using Visual Studio 2013 to create raw HTML pages (i.e. index.html). In my HTML I am implementing custom HTML tags. As such, Visual Studio underlines my custom tags with squiggly lines (due to the warning of "Unknown element ..."). In hopes to get rid of the squigglies, I added my custom tags to the list of "Tag Specific Options" via Tools > Options > Text Editor > HTML (Web Forms) > Formatting > Tag Specific Options . However, the squiggly lines persist. Is there a way to inform VS2013

What's the difference between the lang attribute and the <meta http-equiv=“Content-Language” content=“en-US”> tag?

若如初见. 提交于 2019-12-19 05:07:21
问题 I was wondering what's the significance of using the "lang" attribute and how that differs from using the meta "Content-Language" tag? Consider the following code: <html lang="en"> <head> <meta http-equiv="Content-Language" content="en-US"> </head>... My assumption is that the browser is reading the meta tag's value, but the DOM is concerned with the "lang" attribute. Is this correct? Are there any nuances I'm unaware of? 回答1: The lang attribute (on the HTML element) specifies the language

Is 'en-EU' a valid value for HTML 'lang' attribute?

十年热恋 提交于 2019-12-18 13:15:54
问题 Markup for different editions of my news site... US Edition: <html lang="en-US" xml:lang="en-US"> ... </html> India Edition: <html lang="en-IN" xml:lang="en-IN"> ... </html> Europe Edition (in this case not a specific country, i.e. news covers a broader region): <html lang="en-EU" xml:lang="en-EU"> ... </html> I am depending on the markup of the page to make the target language/region of pages clear to the search engines because the different editions of the news site use a directory-based

Insert HTML markup using Meteor

无人久伴 提交于 2019-12-18 12:47:26
问题 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 relevant part of the template: <span class="description">{{description}}</span> Where {{description}} is the string containing markup (like "hello<br>world"). I'd like it to display hello world rather than hello<br>world I guess this would be

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

妖精的绣舞 提交于 2019-12-18 12:46:19
问题 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 placed right next to each other, which does not look good. So, I tried the table layout to take advantage of the CellSpacing and/or CellPadding properties. Unfortunately, these properties affect both the vertical and horizontal spacing/padding within the

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

寵の児 提交于 2019-12-18 09:56:38
问题 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. 回答1: <%-- Commented out HTML/CODE/Markup. Anything with this block will not be parsed/handled by ASP.NET. <asp:Calendar runat="server"></asp:Calendar> <%# Eval(“SomeProperty”) %> --%> Source 回答2: Bonus answer: The keyboard shortcut in Visual Studio for commenting out

How can HTML5 “replace” Flash? [closed]

我怕爱的太早我们不能终老 提交于 2019-12-17 17:28:40
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . 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