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
-
2
votes0
answers54
viewsSearch filtered (by Label blogger)
Hello, I’m having Problem in a blogger search system. The problem is that I want to filter the searches by Label. <form action='/search' class='navbar-form navbar-right' id='searchthis'…
-
2
votes0
answers30
viewsQuestions with select array
I don’t have much knowledge in javascript, I wonder if it is possible, when changing a main select, update the others to select the same information from this main. Example: I will choose the main…
-
2
votes1
answer12636
views -
2
votes1
answer24
viewsHow do I make an IF and disable a field using script
I’d like some help, wanted to do an IF to disable or enable a field that comes with the value 1 or 0. $(document).ready(function () { $("#btnProduto").click(function () { $.ajax({ type: "POST", url:…
-
2
votes2
answers348
viewscheck user type for php access
I am trying to create an administrator panel. Ba database table has already created the type field, where if it is 1 is normal user and 2 administrator. What is the best method to search for the…
-
2
votes1
answer346
viewsRegister an array in the mysql database
I wonder if it is possible to insert several values within a variable in html, pass via POST to php and register each one in a row in the database. For example, enter multiple names through the…
-
2
votes2
answers647
viewsRead JSON and show in html using Angularjs
I’m trying to read the data of a Json file in html using Angularjs, but I’m not getting it. Follows part of the index.html code: <div ng-app="app"> <div class="page-header" id="principal"…
-
2
votes3
answers5212
viewsHow to call an html Function
I have a website on html where the goal was to update a half-second image with a new one. Like a video surveillance. But I needed to know what the Function in html for the image to change. It may…
-
2
votes1
answer168
viewsTag video inside Slick
I’m having a problem in my project, installed the Slick Carousel, put the images and worked, however, I added a tag containing the video path and the video does not work, just appears a black…
-
2
votes1
answer83
viewsMenu Responsive
Speak guys, how can I hide my menu when I get to 990 resolution? the menu some toggle button appears but when I click on it no menu appears. .header_topo { display: -webkit-box; display:…
-
2
votes3
answers664
viewsRequired no Ajax
I have a code that I need that when submitted, some fields are mandatory to be filled in, type o required html only in Ajax, instead of using Alert as I am using, it uses required as in html. Follow…
-
2
votes2
answers488
viewsSelect values of a <td> with click
The code below is for a page, which the user enters the name of a city, and checks if there are similar results. With this, it brings several results in a table created dynamically, depending on the…
-
2
votes1
answer49
viewsYou can insert new HTML with Pure.js
I’m looking to use the Pure.js framework to create a post via json. I found it on the Stack platform in English this topic, which is what I want to do, only that there’s a problem, I’m not being…
-
2
votes2
answers216
viewsFormulario with calculus
I am now making an equipment rental site however I lack only the essentials of it to finish it, a form that allows to calculate the cost of the rental taking into account the price of the product,…
-
2
votes1
answer110
viewsIs there any way to bring information from the database without using server side language?
I was evaluating the website of Zap Imoveis to find out what languages and technologies are used on their website. I use the Wappalyzer, an extension of Google Chrome, which shows the technologies…
-
2
votes1
answer514
viewsFixed menu in Parallax
Guys, I’ve done everything but I can’t put a fixed menu in this code (made by tekzzoom), when inserting an item the background overwrites it, and the item does not remain fixed on the screen. Can…
-
2
votes2
answers326
viewsForce require on display:None
I have the following html: <ul class="payment-methods"> <li class="payment-method paypal"> <input name="payment_methods" type="radio" id="paypal"> <label…
-
2
votes3
answers1616
viewsHow to create a button inside an iframe to close it
I needed to create a button inside a iframe in a corner to close it. I have an image gallery and clicking on an image will open a iframe, the following code already does this. But now I needed to…
-
2
votes1
answer127
viewsHow to change html data-start-height by Media Queries?
I have a website Based on a template I bought on themeforrest, the banner of the homepage of this site has its height adjusted by this attribute: data-start-height (which I had never used, I know…
-
2
votes1
answer978
viewsHow to change the image of the mobile menu icon to indicate toggle closure?
I’m creating a responsive menu from scratch using html, css and jQuery. I was able to create it and it is working toggle opening and closing after function click on an image (the menu icon). The…
-
2
votes4
answers182
viewsAdjustable design for mobile
I would like to know what I am doing wrong, I want when the user enters my site by mobile, change some dimensions of my page, background and other things that I will change.. @media screen and…
-
2
votes1
answer132
viewsAjax Commit - Enter
How can I make a commit with ajax using the enter key? That is, I have the following code: var nome = $("#nome").val(); jQuery.ajax({ method: "get", url: "teste.php", data: { "nome": nome },…
-
2
votes3
answers3621
viewsHow to readjust the image to the size of the div
This image has 500px x 500px and the div has 600px x 600 px How can I treat the image to be the same size as the div? #conteudo{ width:600px; height:600px; float:left; background-color:#ff1;…
-
2
votes1
answer557
viewsChange dropdown menu via input checkbox
I’m trying to create a dynamic dropdown menu that can show your content as checkbox is checked. <!DOCTYPE html> <html> <body> <div id="checkbox"> <label><input…
-
2
votes1
answer1610
viewsCreate action on an html button
I’m new to Web development and I came across the following problem. I have an input text and an html button and I need to create an action that by clicking the button, a function is called and in…
-
2
votes2
answers960
viewsProblem with Datepicker
I have a datepiker but it’s not working in a good way if I click on input it works cool, but when I click on the calendar image it neither passes the value and also does not receive what is in…
-
2
votes2
answers124
viewsIs there a 'native' way of the <form> tag to identify changing the original state of a form?
Assuming a form was loaded with 10 text fields with value 1, and the user modified one of these to 0. When submitting the form, there is something 'native' that identifies it had some change in the…
-
2
votes1
answer73
viewsIncrease text size by scrolling the page
How do I when scrolling the page increase the size of the text? I would like each 50px the text increased in 10px to scroll the page to a total of 1000px top-down. Below is Fiddle and Snippet:…
-
2
votes2
answers105
viewsHow do I use dynamic information coming by ng-repeat {{}} and use it as the argument of an ng-click (button) function?
I have a function ng-click: ng-click = "adicionar(0);" This function ng-click is inside the loop ng-repeat = "mercadoria in listademercadoria". There is a way to pass on information according to the…
-
2
votes2
answers680
viewsHow to make a button appear/disappear only from one of the loops created by ng-repeat? (Programming in Angularjs)
My angular code has an ng-repeat as follows: Angularjs: angular.module('meumodulo', []) .controller('mercadoria', function($rootScope, $http) { var ctrl = this; $rootScope.listademercadoria = [];…
-
2
votes1
answer849
viewsWhy even with margin 0 and padding 0 there is still space between the elements?
I have 3 buttons on each other and I wanted them to have 1px of margin just between them but it’s getting much more: The html: <div class="popup"> <p id="popupText">TRUCO!</p>…
-
2
votes1
answer741
viewsChange textarea background color when button is clicked
I developed an application in Javascript, Jquery and HTML. I would like to make sure that when the user clicks the button btnalterar, to textarea created change your background color. Does anyone…
-
2
votes1
answer30
viewsDoubt with SQL/PHP
I have the following query: $qrysel = "select * from pack"; $ressel = mysqli_query($db, $qrysel); $obj = mysqli_fetch_object($ressel); In html I have this: <?= $obj['pack_name']; ?> How could…
-
2
votes3
answers103
viewsHow can I decrease the size of this function?
It’s a simple function, but it’s starting to turn into a monster, the only thing that changes is the number at the end of each word. Does anyone have any tips on how to shorten this code? No…
-
2
votes2
answers303
viewsDownload attribute, new line in text file
I’m trying to download a text file with information coming from a array but would like to separate these values in new line... tried some bad approaches unsuccessfully the result remains in only one…
-
2
votes2
answers439
viewsTag html inside a string displayed one character at a time
When I run the code it writes the "<" of the tag before interpreting it, I would like it to interpret the tags directly without writing their opening sign var TxtType = function(el, toRotate,…
-
2
votes1
answer3967
views -
2
votes2
answers372
viewsDisplay text contained in span in Hover
I have the following html code below: <a class="tooltips" href="#"><strong>!</strong><span>Ingresse o máximo de informações possíveis para uma entrega…
-
2
votes2
answers927
viewsFormat CSS table color
I wish my chart looked like this. but when adding the content to it it gets this look I’m not able to leave it as the top table. function listarProdutos(){ var conteudo="<table border='1'>";…
-
2
votes1
answer253
views -
2
votes0
answers98
viewsHow to use ng-repeat inside the ui-Carousel library?
Carousel works, but I’m not able to ng-repeat within the directive, how could I solve this? In the controller I have the collection: $scope.steps = [ {id:1, text: 'nnoonon 1', current:1,…
-
2
votes2
answers247
viewsHow to change the color of a div Parent relative to the size of the Childs
I have a div parent and 4 div's child and would like to change the color of border of div parent relative to the size of div child. To exclaim better put down an image with an example of what I…
-
2
votes0
answers41
viewsHave identifier in a table row
Hello, I’m developing a web application that contains a list of various elements. My idea will be that after a click on one of the elements, it opens a new page with the details of the element…
-
2
votes2
answers320
views -
2
votes1
answer2374
viewsDisplaying a mysql table on the html page
Good morning friends! Searching, I was able to join this code from the 'show test' page to expose the contents of the 'testimony' table of the BD 'beja_provida'. However, it does not give the…
-
2
votes0
answers33
viewsJquey for-Loop - Function returns "Cannot set Property 'href' of Undefined"
I’m trying to create a function that searches all the links of a div and shorten them: function encurtarUrl(){ var conteudoPronto = document.getElementById("saida"); // armazena a DIV com id "saida"…
-
2
votes2
answers84
viewsAnchor validation for download
Next, I need to validate this form so that only after the person registers can they download the file. With the tag I can already have this validation but I was able to put to download only with the…
-
2
votes2
answers510
viewsHow to load html page with the scroll bar of a DIV at the end?
I have a div with a fixed size and containing many large texts within it. I would like that whenever the page that contains it was loaded, it was "focused" (that is, the focus of the page went…
-
2
votes1
answer2764
viewsProblem related to CORS
In recent days I had a problem with the contact form of my site, the error in question is CORS. Well, so far so good, it’s a problem that I’m sure a lot of you have already passed. The problem in…
-
2
votes2
answers451
viewsApply CSS to a button
In the company where I work we have an ERP system, and I am passing some things to the Web, but in the system there is a button 'inside' an input that is already proper to the Dataflex language How…