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
votes1
answer444
viewsModelling Edge of an Element (DIV)
I want to know how I manipulate the edge of a div. The idea is to have a nice border Expand in the upper right corner of this element.That is, if the div has a 4 px square format on each side.I want…
-
2
votes3
answers7168
viewsTwo conditions in the same if() javascript loop
I can’t prevent the button submit to carry out its action if the information typed is not equal, someone could help me? HTML <form method="post" action="php/cadastro.php"> <span…
-
2
votes1
answer75
viewsNg-repeat passing a number
I want to mount a select whose options will be generated by an ng-repeat, but for this I want to pass a number, for example if I pass the number 5 in the variable will be mounted 5 options with…
-
2
votes1
answer967
viewsPHP: How to convert a number into a string?
I have an application that generates a PDF receipt. But in the bank the values have to be converted into words BD | PHP 10 | TEN 15 | FIFTEEN 7 | SEVEN there is some function that returns the string…
-
2
votes2
answers167
viewsHTML to open url stored in a variable
I don’t have much knowledge in html, I want to open a link that is stored in a variable but unsuccessfully. <div class="csgo-item--inspectLink"> <img src="static/img/inspect.png"…
-
2
votes1
answer1218
viewsCreate share button on Linkedin
I am developing a Web project and in this project contains the button to share on Linkedin (customized). I’ve worked with sharing Facebook and Twitter and so far is working normal, but I’ve never…
-
2
votes1
answer1620
viewsHow to filter html text and display div according to the found text
Save list! I need a little help here I have the following tags in html: <html> <body> <div id="div01" style="display: none"> <p> esse texto está aqui para ser…
-
2
votes4
answers676
viewsBackground gradient repeating itself
I’m setting up a website for myself, and I’ve defined the site structures (header, Section, aside, footer). However, I am willing to put a gradient background on the entire site. So I applied it to…
-
2
votes0
answers126
viewsUploading Multiple Files from a Mobile Phone
Hello, I have a web app where I need to upload multiple photos at the same time, On the pc goes smoothly but on the mobile I can not select multiple photos. Can someone help me ?
-
2
votes2
answers305
viewsButton conflict when sending form with jquery
I’m having a problem sending a jQuery form, Submit was only to be done by one button but I have two in the form, and Submit is done by both. how to solve this problem?? <script…
-
2
votes2
answers979
viewsPicking text from an input text
I have the following form <form method="POST"> <input id="comentario" type="text" name="comentario" id="comentario"> <input type="submit" name="Comentar" value="Comentar"…
-
2
votes1
answer1704
viewsHow to select a <option> of <select> with javascript/jquery
I have two selects, one for the employee and one for the function, where it is necessary that when an employee is selected the function of the employee is already automatically selected. That one…
-
2
votes1
answer333
viewsError while logging in gmail - Permission denied to generate login hint for target Domain
I am trying to implement gmail login on my website, however, the same gives the following error screen: I saw in some other questions that the problem would be the link being with ip, instead of…
-
2
votes1
answer716
viewsHow to switch between 2 style sheets?
Guys, I own a site that all the color of it is on gold and black. Some font colors in gold, gold logo, gold sidebar, etc... How do I stop, when I put one button on the side of my website, written…
-
2
votes1
answer632
viewsTypeerror: Document.getElementsById is not a Function
I just want to add up the values I get on input, what’s wrong with the code? <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script…
-
2
votes1
answer2529
viewsDelay/delay function for opening a div
I have a floating div with a 'close' button, which makes Hidden / Visible. <script language="JavaScript"> function controlaLayer(layerover) { if(…
-
2
votes0
answers2490
viewsTransparent Checkout Paid Market
I’m making a check out tranparent by the paid market, and I’m having trouble at the time you send the payment form, is returning the message Fill in the fields correctly. I put all the information…
htmlasked 7 years, 3 months ago Wagner Martins Bodyboard 698 -
2
votes3
answers2230
viewsCode to show screen resolution
I’m testing the site I’m creating on several devices to see the responsiveness, because I have 5 css one for each screen resolution and would like to create a code within a div that shows the…
-
2
votes0
answers76
viewsImplement Swipe in Venobox lib
Guys I’m using a lib called venobox on a site, but it does not native the Swipe that is the sliding of the image aside to pass it or back and I tried to implement the lib Touchswipe-Jquery-Plugin…
-
2
votes1
answer1500
viewsHow to insert specific fonts into the CSS?
My client passed specific fonts to a website. These are in TTF format. I’m used to using Google fonts and there’s no fonts there. How can I use these fonts in my CSS or HTML?…
-
2
votes1
answer1853
viewsHow to send data with JS? without updating page
I am trying to create an HTML game and I need a way to send data to a database (MYSQL) and I would like to know how to send data from the site to a server without the page updating. In case anyone…
-
2
votes3
answers2107
viewsHow to print only a part of HTML?
To print a page I know I must use <button onclick="window.print()"> What I need to know is how to print a DIV? Ex: <div id="divtoprint"> //some code </div>…
-
2
votes1
answer1793
viewsSend values on onclick
I’m trying to send two figures on onclick of HTML, however, the second value is "Undefined", as I can send these two values to the function? echo "<h3 id='$input'…
-
2
votes1
answer176
viewsDynamically limit inputs
I’m a little young in jQuery and would like to know how I do to limit the size of input dynamically inserted. An example: in the code below the user can enter how many inputs want, however I wanted…
-
2
votes1
answer1178
viewsText alignment with css
I am mounting a div with a loading, the problem and I can not align the text below the image and in the center. The image is aligned as I want, in the center of the page. Can someone help me?…
-
2
votes2
answers949
viewsHow do I make IFRAME editable?
I remember a long time ago I used a code in a IFRAME that allowed me to type, to put bold or italics in the fonts, inside this iframe. I know it’s not with the option contenteditable, was another…
-
2
votes1
answer107
viewsReload while while giving Submit
I have the need to when load all the content defined in the database query to each while and fill in the fields and give Submit, it record in the database and reload only that loop bringing me the…
-
2
votes2
answers488
viewsWeb Paging with C#
I’m building an administrative application, and in this application I have a message page. I am currently bringing the last 20 messages. I already have the screen ready to receive this messages, but…
-
2
votes1
answer74
views<select> not working properly
I am facing a problem, which I did not find enough clear tutorials on the internet so I could learn how to solve, which apparently seems to be simple but I am not able to solve. The problem is to…
-
2
votes0
answers40
viewsHow do I make the browser remember two different passwords (two distinct Forms) for the same website (domain)?
I have in a web application that, in a conventional way, asks a user and password to login to the system. This user and password are encapsulated in a form (simplified example): <form…
-
2
votes1
answer50
viewsIs hidden content bad for accessibility?
I have a table with three columns, one for "Species", one for "Quantity" and one for options. The quantity field can be changed when the change button is clicked, with the change button hidden to…
-
2
votes1
answer324
viewsHow to do While from one table and show data from another?
I have two tables: Tabela1: Id int A_I; Modelo varchar; Tabela2: Id int A_I; Id_fk int (foreign key da tabela1); cor; And wanted to do a Tabela1 while but show table data2. <?php include…
-
2
votes2
answers2828
viewsChange input value source Submit and reset
Is there any way to change the value font-family of the Submit input and reset, just like I did with the placeholder using ::-webkit-input-placeholder And there’s a way someone from you can help me…
-
2
votes1
answer333
viewsRegular expression to identify text box in HTML form
Situation Give up a page in any HTML where there is a form containing, at first, two text boxes, one for name and the other for email. Then came the need, to do some tests on Android, to get just a…
-
2
votes1
answer164
viewsIn an Ajax XHR request, in HTTP_ACCEPT what is the meaning of q=0.01?
I have a communication via Ajax (xhr), and in my HEADER the value of HTTP_ACCEPT is application/json, text/javascript, */*; q=0.01. I understand all the above values, I would like to find something…
-
2
votes1
answer2244
viewsConfigure form for printing
I created a form in which when it is filled out, it should be printed out. However, when I print it all out without formatting. Can anyone tell me how to make the print out formatted? And how do I…
-
2
votes1
answer841
viewsConverting Boolean to YES or NO to Angularjs
I have the following table structure in my form HTML: <tbody> <tr nr-repeat="p in model.previdencias"> <td>{{p.NomeDependente}}</td> <td>{{p.IsAtivo}}</td>…
-
2
votes1
answer951
viewsHow to trigger a function when clicking a radio type input?
I have 2 inputs of the type radio. In them, I’m trying to trigger my JS method. However, by clicking on radio button, nothing is done. Neither gets into the JS function: function onView1(){…
-
2
votes1
answer1014
viewsHow do I let table tds automatically increase or decrease the size depending on the number of characters?
How to leave the td of table increasing or automatically decreasing the size depending on the number of characters? To prevent the text from breaking line?
-
2
votes1
answer268
viewsNg-repeat with preselected value
I’m building a CRUD complete, and when it comes time to edit, I have a problem with ng-repeat. To save, I have a form with a select and ng-repeat which contains the functions a collaborator may have…
-
2
votes2
answers315
viewsCollecting words from an input
I am developing a page (study only) of a bookstore. The variable titulo_livro receives the data of a input type='text'. What I need to do: The title of the book will often contain more than one…
-
2
votes1
answer154
views -
2
votes1
answer110
viewsHTML/CSS responsiveness
I am adjusting a code, and I can not in any way, make the arrows of Prev and next on the carousel, appear on mobile! I’ve adjusted for the media queries, but nothing solves! The code is too long to…
-
2
votes1
answer795
viewsHow do I detect the button click (html) on Tchromium Cef4delphi?
I have the Tchromium Cef4delphi component loading a web page, and on that web page I have a button. It is possible to detect the click of this button on the web page (html) and open for example a…
-
2
votes1
answer122
viewsProgress bar in a cell of a table
I am making a calendar and need to make a progress bar of the time elapsed each day. I have assembled the calendar using HTML tables. How can I make this progress bar each day separately?…
-
2
votes1
answer25
viewsProblem with background Animate + css
"use strict"; window.onload = function() { setTimeout(start, 200); }; function start() { //Helpers function lineToAngle(x1, y1, length, radians) { var x2 = x1 + length * Math.cos(radians), y2 = y1 +…
-
2
votes1
answer688
viewsInsert item titles on the side
I’m trying to make a Carousel using the framework bootstrap, but I’m having a hard time inserting the titles of the Carousel items on the side and inserting a border on top as in the image below.…
-
2
votes2
answers287
viewsShow confirm only after page loading
I am calling the following function inside the page: window.onload = function() { acess(); } function acess() { decision = confirm("Deseja realmente excluir o servidor cadastrado abaixo?"); if…
-
2
votes2
answers222
viewsButton show div 1 and hide div 2 and vise versa
I want to make a single button that changes name and hides the div1 and shows the div2. The button would have the name div1 while showing the div1 and the same standard for div2. function…
-
2
votes1
answer981
viewsDiv with height automatico dropdown menu
Hello, my question is this. Let’s assume this code <div> <a>teste</a> <a>teste</a> <a>teste</a> <a>teste</a> </div> This div is displayed…