HTML

HTML (Hyper Text Markup Language) is the standard markup language used for structuring web pages and formatting content. HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language. HTML works in conjunction primarily with CSS and JavaScript, adding presentation and behaviour to the pages. The most recent revision to the HTML specification is HTML5.2.

63 votes
6 answers
775 views
Delete text in between HTML tags in vim?

I know di< will delete in an HTML tag itself. Is there an easy way to delete text in between two tags?

avatar
Basil
0 1 0 9
asked 07 September, 2021
45 votes
7 answers
2.8K views
Allow Access-Control-Allow-Origin header using HTML5 fetch API

I am using HTML5 fetch API. var request = new Request('https://davidwalsh.name/demo/arsenal.json');

avatar
Freida
0 1 0 9
asked 07 September, 2021
61 votes
2 answers
435 views
Click on XPath-selected href link in Nightwatch?

How to click on a href link in Nightwatch? The href text is identical to each other so I can't

avatar
Luis
0 1 0 9
asked 07 September, 2021
57 votes
2 answers
1.1K views
How to select an element&apos;s great-grandchild for CSS rules?

Given this HTML, how can I select rt-block to alter the CSS only when nested within rt-header as shown? <

avatar
Cortez
0 1 0 9
asked 07 September, 2021
64 votes
2 answers
2.2K views
Target a css class inside another css class

Hi I am having problems with some css classes in joomla. I have two divs in a module, one is the wrapper class

avatar
Venice
0 1 0 9
asked 07 September, 2021
59 votes
5 answers
2.9K views
How to reference a long class name with spaces in CSS?

I'm trying to style some Drupal output. In particular, I'm trying to reference a class with a super

avatar
Robt
0 1 0 9
asked 07 September, 2021
53 votes
7 answers
384 views
How can I find an element by CSS class with XPath?

In my webpage, there's a div with a class named Test. How can I find it with XPath?

avatar
Basil
0 1 0 9
asked 07 September, 2021
58 votes
11 answers
2.9K views
How do I escape ampersands in XML so they are rendered as entities in HTML?

I have some XML text that I wish to render in an HTML page. This text contains an ampersand, which I want to r

avatar
Renaldo
0 1 0 9
asked 07 September, 2021
51 votes
9 answers
2.3K views
How To Auto-Format / Indent XML/HTML in Notepad++

Is there a way to re-indent a block of code? I'm looking for something similar to Ctrl+Shift+F in Eclips

avatar
Dario
0 1 0 9
asked 07 September, 2021
65 votes
8 answers
2.4K views
How to use dashes in HTML-5 data-* attributes in ASP.NET MVC

I am trying to use HTML5 data- attributes in my ASP.NET MVC 1 project. (I am a C# and ASP.NET MVC newbie.) &

avatar
Charis
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
448 views
How do you handle multiple submit buttons in ASP.NET MVC Framework?

Is there some easy way to handle multiple submit buttons from the same form? For example: <% Html.BeginFor

avatar
Freida
0 1 0 9
asked 07 September, 2021
54 votes
12 answers
934 views
phonegap open link in browser

<a target="_blank" data-rel="external" href="http://www.kidzout.com">www.kidzout.com</a> hey exp

avatar
Alphonso
0 1 0 9
asked 07 September, 2021
50 votes
30 answers
2.1K views
Not showing placeholder for input type="date" field

I am doing a phonegap app. When I am trying type="date" input field as shown below, it shows date picker in iP

avatar
Nereida
0 1 0 9
asked 07 September, 2021
59 votes
5 answers
2.4K views
Do HTML WebSockets maintain an open connection for each client? Does this scale?

I am curious if anyone has any information about the scalability of HTML WebSockets. For everything I've

avatar
Frederick
0 1 0 9
asked 07 September, 2021
51 votes
6 answers
1.7K views
WebSockets vs. Server-Sent events/EventSource

Both WebSockets and Server-Sent Events are capable of pushing data to browsers. To me they seem to be competin

avatar
Nereida
0 1 0 9
asked 07 September, 2021
52 votes
8 answers
623 views
HTML encoding issues - "Â" character showing up instead of "&nbsp;"

I've got a legacy app just starting to misbehave, for whatever reason I'm not sure. It generates a

avatar
Sydney
0 1 0 9
asked 07 September, 2021
60 votes
11 answers
1.8K views
AngularJS ngClass conditional

Is there any way to make an expression for something like ng-class to be a conditional? For example, I have t

avatar
Keith
0 1 0 9
asked 07 September, 2021
59 votes
15 answers
1.5K views
How do search engines deal with AngularJS applications?

I see two issues with AngularJS application regarding search engines and SEO: 1) What happens with custom tag

avatar
Chelsea
0 1 0 9
asked 07 September, 2021
53 votes
1 answers
536 views
Strange iframe added into body tags called `rufous-sandbox`

I'm working on a local WordPress site, and for some reason there is an iframe added just after the openin

avatar
Rudy
0 1 0 9
asked 07 September, 2021
50 votes
9 answers
1.1K views
What is the motivation behind the introduction of preflight CORS requests?

Cross-origin resource sharing is a mechanism that allows a web page to make XMLHttpRequests to another domain

avatar
Yolando
0 1 0 9
asked 07 September, 2021