Tag: html

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
55 votes
1 answers
813 views
Items are overlapped in layout of category page in Joomla (due to container height attribute)

I'm developing a website using Joomla 3.2.1, K2 and creativia template. I've already done quite a lo

avatar
Freida
0 1 0 9
asked 07 September, 2021
58 votes
4 answers
2.7K views
Generate meta page title exactly as on h1 tag

Site based on Joomla. I have many pages where h1 header is mentioned as product detail and displayed based on

avatar
Louetta
0 1 0 9
asked 07 September, 2021
60 votes
1 answers
834 views
Joomla get(&apos;Items&apos;) and how it works

I am looking at line 34 of /administrator/components/com_contact/views/contacts/view.html.php where is says $t

avatar
Yolando
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
50 votes
30 answers
1.9K views
A potentially dangerous Request.Form value was detected from the client

Every time a user posts something containing < or > in a page in my web application, I get this exceptio

avatar
Patsy
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
56 votes
21 answers
3.1K views
How to host material icons offline?

My apologies if this is a very simple question, but how do you use google material icons without a <link

avatar
Forrest
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
66 votes
10 answers
383 views
How To Save Canvas As An Image With canvas.toDataURL()?

I'm currently building a HTML5 web app/Phonegap native app and I can't seem to figure out how to sav

avatar
Alba
0 1 0 9
asked 07 September, 2021
64 votes
5 answers
2K views
jQuery Mobile: document ready vs. page events

I am using jQuery Mobile, and I am having trouble understanding differences between classic document ready and

avatar
Tuan
0 1 0 9
asked 07 September, 2021