Questions tagged as 'html'

3
answers

Conditionals with if and else

I have two buttons, one is Major and the other is Minor to return the following: I have two fields where I type a value in each. The first (larger) button has to return me which of the two numbers is the largest and the second button has...
asked by 09.04.2018 / 21:13
2
answers

Countless if and else conditions

I have 5 inputs where I should put any number and two buttons, one with the largest name and the other with the smaller name. I need to click on the larger button to tell me the field where the largest number is entered and when I click on the "...
asked by 10.04.2018 / 02:20
1
answer

Compare different div attributes of the same html file

my question is: I have a div with a checkbox and another one with an image, I would like that after the user tags the div with checkbox and click on a commit button, my function in js would check if the checkbox is checked and if it is it compar...
asked by 08.04.2018 / 19:14
2
answers

div align right

I'm trying to align this div on how much right of the screen and it stays on the left only <div class="tres"> <iframe data-aa='861335' src='#' scrolling='no' style='width:120px; height:60px; border:0px; padding:0;overflow:hidden'...
asked by 14.03.2018 / 18:52
2
answers

Get an html and save in variable

I have a simple html in file and I want to ghetto it in a variable to use, I did the get like this: let popup = ''; $.get( "popup.html", function( data ) { // the contents is now in the variable data console.log("data"+data);...
asked by 09.03.2018 / 18:06
2
answers

! DOCTYPE html changing image

I finished a personal page, which contains 2 images. But at the end of that, I noticed that I had forgotten to put the command !DOCTYPE html . When I inserted it, my images were left with a line below: HowisDOCTYPEinfluencingthisandwh...
asked by 09.03.2018 / 17:28
1
answer

Latest blog posts wordpress on another site in PHP

I need to put in a landingpage that is in HTML the last posts of a blog that is in Wordpress, I got a code on the internet that after the posts but I can not define how many posts will appear and nor get the image of the post. Can someone help m...
asked by 09.03.2018 / 19:33
1
answer

Real size auto fit of the select via option available

I usually search and do not disturb the patience of the members here, but this time I specifically need an example. See: <!DOCTYPE html> <html> <body> <select id="lista" size="4"> <option value="A">...
asked by 10.05.2018 / 03:48
1
answer

I have a problem with a script

Good code: <!doctype html> <html><head> <meta charset="utf-8"> <title>Documento sem título</title> <!-- PLUGINS --> <link href="/plugins/animate/animate.min.css" rel="styleshe...
asked by 07.01.2018 / 11:52
2
answers

How to simulate Login using JavaScript

Hello, I would like to simulate a login, basically when a certain email and password chosen by me are inserted the script will login with display:none; and another div that I still have to create with display:inline; Here is the...
asked by 06.01.2018 / 23:17