Questions tagged as 'html5'

1
answer

HTML5 video without context menu

How do I disable context menu of the right mouse button in videos, so that the video menu does not appear? $('#nome').contextmenu( function() { return false; }); The code above, but does not work in internet explorer, the video is left...
asked by 12.04.2014 / 23:28
1
answer

Is there any way to save the webcam through HTML5?

I know there is a way (I've even used it on at least 5 systems that I've developed) to open the webcam through HTML5 and capture a photo (I do this using canvas ). Html5 Camera Capture Sample But I had a question: Can I capture this...
asked by 06.11.2017 / 14:32
2
answers

Is it wrong to structure a form with tables?

Today with HTML5/CSS3 and its many ways to align elements (divs) Is it wrong to structure a form with a table? For example: <form action="action" method="POST"> <table style="width:100%"> <tr> <td>Nome&l...
asked by 22.10.2015 / 18:03
5
answers

How to do with CSS a paragraph with capitular letter (Drop Caps)

I'd like to stylize only the first letter of each paragraph in my text, but I do not want to have to separate that letter with a <span> because I want to keep the correct semantics of the word, and not have to "break" with a tag....
asked by 31.10.2018 / 13:14
3
answers

Force update on client side after site update

The scenario for my problem is the following, I have a website that has been updated, but some customers are reporting that the update was not made for them, which are still in the old site template (probably due to cache persistence ). I've...
asked by 23.03.2017 / 20:28
2
answers

Download file by mobile device

I have a link, and clicking that link will download an image. So far so good, but when I access from some mobile device I can not download this file, does anyone have an idea or solution to solve this? HTML: <a href="http://mlb-s2-p.mlst...
asked by 19.11.2015 / 13:25
1
answer

Move character sprite on canvas and change image [closed]

Well, I would like to know how I could implement a sprite on my canvas, I am very lay with canvas, the idea is, by pressing arrow -> he runs the sprite 1.png, the squeeze arrow < - he runs the sprite 2.png, and when left click he performs spr...
asked by 19.06.2016 / 01:00
2
answers

What are the functions of form tags in HTML5?

The question refers to tags not so commonly used, such as <fieldset> , <legend> , <label> and <optgroup> . Recently I needed to do extensive work involving registration forms and I noticed th...
asked by 25.11.2015 / 19:54
2
answers

Is it correct to concatenate PHP in JavaScript?

I often use this method, but I do not know if it is appropriate, to redeem the id in JS I use echo php <script type="text/javascript" src ="js/jquery.js"></ script> <script type ="text/javascript"> $("document").ready(functi...
asked by 09.01.2016 / 15:24
2
answers

Is there any difference between clip property and overflow?

Studying the clip property I came across the following statement:    The clip quer property works similarly to overflow   with some differences. This gave me some doubts: Is this a true statement? What would these diff...
asked by 18.04.2017 / 03:32