Questions tagged as 'html5'

1
answer

Some idea of how to submit the button using javascript or jquery

Here I send the data but I have to press the button and I want to do it can also be done by pressing enter: <input type="text" name="fecha" id="fecha"> <input type="text" name="direccion" id="direccion"> <div id="enviar">Envi...
asked by 13.07.2018 / 04:56
1
answer

Use Label a as a container

Good morning, I'm doing an exercise with HTML and I have a doubt, I'm enclosing a label <a> a <div> and within this same there is a label <p> and other <img> and it works well and as I want, my...
asked by 25.02.2018 / 20:20
1
answer

href = tel: It works intermittently

Good day, I have the following piece of code in the index of my page: <div class="col-sm-3 claseHome"> <button class="btn btn-primary"> <a href="tel:11111111"><span class="glyphicon glyphicon-earphone">...
asked by 21.03.2018 / 16:07
1
answer

Nothing happens when I send in php form

I am studying php and I am doing a form where it is very basic that contains 2 input (Number 1 and Number 2) and a send button, what happens is that when you write the values in the input and give the send nothing happens, the only thing that do...
asked by 29.03.2018 / 00:56
1
answer

"Element style not allowed as a child of element body in this context"

I am learning web development and I am validating my code in the NU HTML checker, but it throws me this error: Element style not allowed as child of element body in this context. (Suppressing further errors from this subtree.)...
asked by 20.12.2017 / 19:49
2
answers

Stop a setInterval () in JavaScript

I am developing a number increase with setInterval (), and I want the setInterval to stop when the counter reaches a certain number. var cont = 0; var rango = document.getElementById('rango'); var id = setInterval(function(){ rang...
asked by 07.10.2017 / 00:22
1
answer

Why is not a div displayed using mediaqueries in HTML?

I have two div one with a yellow background and one with a red background, the red background should be seen in a resolution greater than 800px and the yellow in the resolution less than or equal to 800px, the red div works fine but the yellow o...
asked by 26.08.2017 / 15:30
2
answers

When changing class with Jquery, then Jquery no longer works

Change class a div with jquery, but when I try to use jquery with the class that I changed it does not work. $('.ver_drop').click(function() { $( this ).text( "Ocultar drop" ); $( this ).toggleClass( "ocultar_drop" ); $( this )....
asked by 02.10.2017 / 17:34
1
answer

Adjust large text contents to dropdown

I have a menu made with Bootstrap 3, this has sub menus and the titles of these sub menus are very large making the final result look like this. What I need is that those texts that I actually show are fields of a database and what I ne...
asked by 24.06.2018 / 06:46
2
answers

How to reference the id of a body to css?

I'm interested in using the same CSS on several pages. I am trying to assign a CSS style to a body with the id="fondo2" . I use the same syntax as for the input elements. Am I making the reference well? <body id="fondo2"> .....
asked by 30.10.2017 / 21:55