Most voted "html" questions
Use this tag when the question refers to some resource, information or problem related exclusively to the HTML language (Hypertext Markup Language). HTML is the main markup language used to structure web pages and format content. The latest revision of the HTML specification is HTML5.
Learn more…14,259 questions
Sort by count of
-
1
votes1
answer358
viewsReactjs running in apache
I have the following structure to display the famous Hello World with reactjs: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script…
-
1
votes0
answers282
viewsAjax does not work on the server
I read some answers in the forum, but none managed to solve my problem, Ajax works in place, but when I go up it just doesn’t work, follow the code: jQuery('#formLogin').submit(function(){ var dados…
-
1
votes1
answer127
viewsError in javascript/html code
I don’t know where the error of my code comes from, I already checked it and I can’t find the fault, it turns out that the functions that were to be called are not being executed, follow the code:…
-
1
votes1
answer206
viewsReplay audio every time a button is clicked - Javascript and HTML
I want the audio to repeat from the beginning every time the button is pressed. Instead it only repeats after the audio has finished. (NOTE: I am using JSX) Javascript playShot() { var audio =…
-
1
votes1
answer254
viewsHelp with css menu
Guys I’ve put together a simple menu in css. But I have a problem. This menu is inside a div header that stays fixed on the screen. So if the menu has a lot of option it is not possible to select…
-
1
votes2
answers150
viewsDiv Slider between images on Hover
Good afternoon, I need to set up a project for a photography client and the same asked me something I had never done, I tried to search the internet but I could not find something to help what I…
-
1
votes2
answers400
views"Shadow" effect inside the box
Hello! I was trying to make a kind of "inner shadow" on a div of mine, but I can’t. Does anyone know? The style is similar to the news boxes in the initial section of the keyboard…
-
1
votes2
answers152
viewsDivs background with a larger side q other
Good afternoon guys, could someone please explain to me how this effect is done on the slope background, or slope, depending on how you look.. kkk I tried the results on the page, but I can’t see…
-
1
votes3
answers532
viewsChanging site color via GET parameter
First of all I wanted to inform you that I am beginner in programming, I am learning by myself. I have a question, I don’t want hand-kissed codes or anything, just an explanation so I can put it…
-
1
votes1
answer71
viewsHow to list BD query
Good night! How do I list a query in the database? I have a bank where you store singers and their songs... I wanted to list Spotify style, listing numerally according to the amount of content in…
-
1
votes1
answer55
viewsApply size to a textarea, unless it has the attribute "Rows"
I have a textarea which is formatted with the following rule: .wm-form textarea{ min-height:100px; resize: vertical; width:100%; border-radius:4px; border:1px solid #ccc; } <form…
-
1
votes0
answers44
viewsHow do I display the areas of each category?
Good evening guys, I’m in need of a little help I wound up here in PHP, is the following, I created two tables category and area, each category has several areas, each area can only have one…
-
1
votes1
answer1330
viewstake input values
I needed to create a code to generate inputs dynamically, below is the code: HTML <div id="divProdutoBase" style="display:none;"> Telefone: <input type="text" id="produto[]"…
-
1
votes2
answers414
viewsCSS Menu on Diagonal
I am developing a layout of a mobile application, which will be developed in IONIC, the client sent us an example, how I would like it to be the menu of the application, as you can see in the link…
-
1
votes1
answer271
viewsVery large select box content
I have a selectbox <select> HTML that has a very large content, are more than 1000 records that must be loaded, only that in performance issues I believe it is getting bad. I would like some…
-
1
votes0
answers106
viewsWhy is this javascript/html/css slow for Mobile?
I’ve researched a lot, I’ve worked on the code but nothing helps... someone can tell me why this game runs on the furniture, and some way to optimize it?? complete code:…
-
1
votes0
answers98
viewsAccess VUE data model by another script
Well I have a data model with the following information in vuejs graficos: { data : { labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'], series: [ [5, 2, 4, 2, 0] ] }, options : { width: 600, height: 300…
-
1
votes2
answers380
viewsProblems with modals
I’m using the template at Angular. I need to open a page inside a modal, so I used a code that was suggested by the template support: <script type="text/javascript"> $('#conteudo2').on({…
-
1
votes3
answers324
viewsAdd <option> automatically each month
I have a payment system, which has a select that displays the months since the system started, follow the code below: <select name="situacao"> <option>Fevereiro/2018</option>…
-
1
votes2
answers1404
viewsCheck if checkbox is selected in input
I would like to trigger a direct javascript event in the checkbox input when it is selected. For example: <input type="checkbox" isSelected="call()"> Note: I don’t want to make a script.…
-
1
votes1
answer247
viewsHow to recover original image name with jQuery?
how can I recover the names of the images that were sent to the save page via ajax I am not getting I want to take all that were I went up to the server with their original names because I am only…
-
1
votes2
answers589
viewsHow to activate onclick after a jquery?
I have some botões which are mounted dynamically via jquery, Turns out on the front page I have some events like that botões, but as they do not yet exist at the time of page loading the events are…
-
1
votes1
answer98
viewsPrint single element on all printing pages
I’m developing a system WEB and at the time of printing the screen I need to put at the end of each page a imagem, this is possible? So far I have the following code: .hide{ display: none; }…
-
1
votes2
answers115
viewsNavbar-Brand display on smartphones
I am Newbie and would like a help with a problem I am facing on my mobile site. I am using bootstrap. That is the result: The text Squish Monsters is pasting on the navbar, the correct result should…
-
1
votes0
answers69
viewsSockjs Websocket
I’m trying to use the Sockjs, and I put in the HEAD of my index the <script src="//cdn.jsdelivr.net/sockjs/1/sockjs.min.js"></script> and javascript: var wsUrl = 'ws://' +…
-
1
votes1
answer34
viewsCheckbox Materializecss label
I need to build this image structure, but I can’t get the radio input to stay on top of the image using Materializecss. Does anyone know any solution? Hug! Ex of HTML: <p> <input…
-
1
votes1
answer114
viewsSet background color in DIV when sort alphabetically in jQuery
Good night! I’m trying to put together a list as follows: <div> <div>id</div> <div><a id="orderStatus">status</a></div> </div> <div…
-
1
votes0
answers48
viewsreturn JS method
I have the following method: $scope.upload = function (files) { if (files && files.length) { for (var i = 0; i < files.length; i++) { var file = files[i]; if (!file.$error) {…
-
1
votes1
answer267
viewsSequential number in a dynamic form
Guys I have this JS to be able to duplicate a record: function duplicarCampos(){ var clone = document.getElementById('div_dados_historico').cloneNode(true); var destino =…
-
1
votes1
answer188
viewsHow do I get the value of each checkbox that’s inside a loop?
Good morning guys, I need help :( The thing is, I need to delete several records at once so I need to select the ID of each record, so I did an input with checkbox inside the loop this way: <form…
-
1
votes0
answers47
views"25" added after "%"
I created an HTML form that will send some parameters to a page, in this form has a parameter defined as Hidden which is the token. The token has several "%" characters in the middle of it and I…
htmlasked 7 years, 11 months ago Laércio Lopes 4,352 -
1
votes2
answers323
viewsPrevent css changes with javascript
I have a div with class footer when I’m going to style it in css and leave it on display: None; it disappears so far so good. but wanted when used css to hide that div it does not suffer any effect.…
-
1
votes2
answers296
viewsHide half an icon on a Card
I have this code (Bootstrap 4): <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" rel="stylesheet"/> <script…
-
1
votes2
answers263
viewsHow to activate a function by an attribute?
Imagine a code: <div id='teste' data-conteudo="funcao()"></div> I want you to take the attribute data-conteudo the function "function()" is triggered, as if it were a value of the…
-
1
votes2
answers82
viewsRelated news on the site
hello would like to know how I do to put related news on my website like I have a session on my website called "POLITIC NEWS". and the person when clikar on the news appear other news on politics…
-
1
votes1
answer733
viewsCalling 2 events on onclick
I’m developing a website, and I need to trigger two events when a text is clicked. A js function, and a google Analytics goal tracking code. Following example function shownumber() {…
-
1
votes2
answers12367
viewsImage inserted in html does not want to appear
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <HTML> <HEAD> <TITLE>Segundo HTML</TITLE> </HEAD> <BODY>…
htmlasked 6 years, 7 months ago Lucas Pletsch 787 -
1
votes2
answers97
viewsHow to put keywords on my site pages
I’m a beginner and I don’t know what it’s called... I would like some explanations/word definitions/terms on some words on my website. Type the user hovers over the word and opens a tooltip type…
-
1
votes4
answers9708
viewsMask in html and css form only
I’m starting in HTML/CSS and trying to create mask only in these markings (HTML/CSS) for my form fields. It will be possible or should use Javascript for the import of masks? <label…
-
1
votes1
answer193
viewsHow to smooth appearance of Ivds
At the event onloadfrom my site, I carry a function in which makes a loading gif that was appearing, so that the content of the site appears. <body onload="carregar()"> <div…
-
1
votes2
answers317
views -
1
votes2
answers7097
viewsFrom select to input
As in a form with a field select when option = outro would always change to a input? How to do? <form action=""> <div id="alvo"> <select name="opcoes" id="select"> <option…
-
1
votes2
answers1280
views -
1
votes1
answer122
viewsProblem with icon overlay on commit button
In a store based on Prestashop, in the backoffice, there is a button that has an icon inside that is preventing the submission of a button, as could cause the icon to be ignored when clicking this…
-
1
votes0
answers451
viewsWebview on android shows HTML
I’m developing an android app, which I use a webservice to pick up news from a website and play pro app. These news comes in HTML and I take a webview and I set the HTML to it, and it works…
-
1
votes3
answers70
viewsNon-responsive image
On larger screens the image duplicates and I want that not to happen. I’m using the following code: background-image: url("../assetsimages/book.jpg"); background-repeat: repeat; max-width:100%;…
-
1
votes2
answers75
views<! DOCTYPE html> changing image
I finished a personal page, which contains 2 images. But after that, I noticed that I forgot to put the command !DOCTYPE html. When I inserted it, my images got a line underneath: Like the DOCTYPE…
-
1
votes2
answers242
viewsGet an html and store in variable
I have a simple html file and want to ghettarda it in a variable to use, I made the get so: let popup = ''; $.get( "popup.html", function( data ) { // the contents is now in the variable data…
-
1
votes1
answer1022
views -
1
votes1
answer153
viewsProblem with Media Query
Does anyone know how I can specify a Media Query for each device ? I’m trying to leave the iphone 6, 7 e 8 in a way and in the same cell phones only Plus version I’m changing to suit the layout only…