Questions tagged as 'html'

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
2
answers

Array to PHP table

I have the following array: Array ( [0] => Ficha 001 [nombre] => Ficha 001 [1] => Supermercados [matriz_nombre] => Supermercados [2] => 1000 cc [columna_nombre] => 1000 cc [3] => Heineken [fila_nombre] => Heineken [4] =...
asked by 22.10.2018 / 14:17
1
answer

Insert a label to all the labels that have a class in specific

I want to insert a li tag into all ul that have the class or id 'father' . And that ends something like this: <ul id='padre'> <li id='hijo'></li> <li id='hijo'></li> </ul> <ul id='padre'&g...
asked by 31.10.2018 / 17:00
4
answers

Change text that is within the span that is without id or class

<div id="et-secondary-menu"> <ul id="et-secondary-nav" class="menu"> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-1405"> <a href="https://handcrafted...
asked by 13.04.2018 / 20:02
1
answer

Start of input writing [closed]

Normal input starts from the left, how can you start writing from the middle? <input type="text">     
asked by 16.04.2018 / 04:51
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

"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

Passing data from a table in HTML to an insert in Mysql with PHP

I hope you can help me. What happens is that I have a table in HTML that I am generating with javascript, but the result that it gives me, I must save it in a table that I have in my BD HTML Table: I already tried going through th...
asked by 14.08.2018 / 22:13
6
answers

set as value 0 if the input is empty

I'm doing a calculator in which you fill in the fields and do the operations, but how do I do it so that, if the input has no value, javascript interprets it as 0? var button = document.getElementsByTagName("input")[2]; var input1 = doc...
asked by 14.08.2018 / 21:56
1
answer

Validate Javascript HTML form

Why would you let me send data if the fields are empty? I should get the alert and not let me continue. function validar_iniciar_sesion_cliente(){ var idemail, password1; idemail = document.getElementById("email").value; passwor...
asked by 27.11.2017 / 10:45