Questions tagged as 'html'

3
answers

Performance with multipart / form-data

Regardless of the language used on the server side (php, asp, jsf, etc.), is there any problem in adding the enctype="multipart/form-data" attribute even on page forms that do not upload file? / p> Because I use a template in an appli...
asked by 25.11.2015 / 17:45
1
answer

Progressive and cumulative hours counter with days

I have a project where I must accumulate hours worked for a service in a project, it should store in the bank the hours / days. Then when started, if there is no previous time it starts from zero, but if there has already been a step previous...
asked by 07.12.2015 / 13:14
3
answers

What is XHTML and when should it be used?

What I know is that XHTML needs to be valid XML. This implies, for example, that all tags need to be closed. For example: Errado: <br> Certo: <br/> But what is the use of this? What is it for? When should it be used?     
asked by 11.07.2014 / 13:30
1
answer

What is the "application / ld + json" type used in a script tag?

I was looking at the source code of the Kickass page and this passage caught my attention: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://kat.cr", "potentialAction":...
asked by 09.03.2016 / 00:52
7
answers

Count elements on the screen

I would like to know if there is a possibility that I can count the elements on the screen, for example a function that lists the amount of <li> on my webpage. How could I do this? And how would function work?     
asked by 01.12.2015 / 14:54
1
answer

Fullscreen Video on Android Webview

I have an application made in Android Studio that uses webview and runs a remote web application. The video is displayed perfectly in the webview. However, the fullscreen option is not available in the embedded player on the page. See the...
asked by 10.08.2017 / 17:53
1
answer

Multiple-step form, losing values of variables when page changes

We have three PHP pages with html form. In the first page we have the fields showing the values of the variables and the hidden fields containing the values of the variables like this: <input name="nome" type="hidden" value=".$nome." >...
asked by 14.03.2014 / 04:17
3
answers

Form filling with return of a json

I'm using a webService (viaCep) to automatically fill in the street, for when the user enters a zip code. The webService returns a json with the information of the street, and of that return I fill in the inputs referring (Street, city, etc .....
asked by 03.05.2018 / 17:22
2
answers

What is the difference between using [CDATA []] inside a tag script?

What is the difference between using or not using the script contents with this CDATA? <script type="text/javascript"> //<![CDATA ... //]] </script>     
asked by 11.12.2015 / 17:34
2
answers

Can I integrate PayPal into my site without the user signing in or creating an account?

I was looking for and reading about it, but what I see most is just put the button to pay with PayPal, which requires that who is buying to log in to Paypal. Can you do this, some example code light? Because I saw that it is possible, but where...
asked by 12.06.2016 / 00:52