Questions tagged as 'html'

2
answers

Difference between input element and button element of submit type in HTML

What is the difference between these two elements when using them to trigger an event? Is there something that the other party can not do? (apart from not being able to use the element input outside of an element form )     
asked by 30.01.2016 / 04:23
3
answers

Is it possible to accommodate these objects responsively using bootstrap?

I'm doing this responsive site with bootstrap, but I do not know how to use the grid or the @media to adapt as in the second image. Should I use javascript? <div class="container" style="background-color: #000000">...
asked by 09.07.2017 / 23:14
2
answers

IF conditional in PHP

I know that as such, in HTML you can not use the conditional if, but with PHP you can integrate perfectly. What I'm looking for is that instead of doing the conditional completely in PHP: <?php if (condicion) { echo "<p>hola<...
asked by 07.06.2017 / 09:22
1
answer

Know the position of an element with respect to the scroll [duplicated]

How can I know when the position of an element is scrolled with respect to the position of the scroll? This is what I have tried so far: const elements = []; for(i = 0; i <= 8; i++) { elements.push(document.getElementById('p...
asked by 19.07.2017 / 18:44
2
answers

Display a dropdown within the page

I have a table with a dropdown in each row with actions. The problem I have is that in the last rows when pressing the dropdown I have to scrolle the table down to see the options. They do not appear directly to me. I think it's some conf...
asked by 29.07.2017 / 01:32
2
answers

Show Pop Up of an image

My question in itself is how to make an image appear every time an html page is loaded, attached code and example image: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <b...
asked by 31.07.2017 / 14:46
4
answers

Survey for students of a school to evaluate their teachers

I have a code with which I intend to make a teaching evaluation. I need users to be able to select only one rating for each name and not several as in the following example with "juan hernandez". This is the code I have <table cla...
asked by 02.08.2017 / 21:10
2
answers

Obtain individual body tag elements

I have the following code: function obtener(){ var contador = 1; $("body").each(function(){ console.log(contador + " " + $(this).text() + "\n"); console.log("----------------------------------\n"); contad...
asked by 30.07.2017 / 16:32
2
answers

Change a text using CSS

I need to change a text within a tag using CSS. I already try to do this: .course-media .quick-view .btn:before { display:true; content: ' Registrate ahora '; } But this nothing else adds a text before. Also try with after but add a...
asked by 16.08.2017 / 21:39
1
answer

Remove blank spaces [duplicated]

I need the menu to occupy the entire width so that those edges are not visible in white and also at the top. What simple solution exists? .menu { display: flex; background: #333; } ul { margin-top: 0; margin-bottom: 0;...
asked by 21.03.2018 / 19:03