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
-
3
votes1
answer74
viewsDeleting content with Jquery
$('<li>').dblclick(function(){ var selfItem = $(this); selfItem.remove(); }); The code above isn’t working. I want to double-click the item itself to be removed, and, as an optimization, I…
-
3
votes1
answer6460
viewsEffects by clicking a button
I’d like to know how I can add an effect by clicking a button, I’m using HTML5 and CSS. I add an effect with :HOVER, that as soon as the mouse is positioned on button the background of it is…
-
3
votes2
answers109
viewsHow to show latest date data?
I have a Tabela1: ID Auto_increment; varchar; date; I would like to show only the data with the latest date. How do I?
-
3
votes3
answers12026
viewsVertical text with css (90º)
I’m turning a word document into html, but I don’t know how to write the text this way: Would anyone know how?…
-
3
votes3
answers29544
viewsHow do you get it in the headline?
I own a site where I use two headers to show my options to the user, but I came across a problem, I need to put the company logo and I’m not able to do it, I need the logo to be in a size…
-
3
votes2
answers84
viewsDoubt with function js
Good morning, gentlemen. First of all, excuse my question, I’m not a web programmer and I need to do something I’m a layman. I am trying to give a "simple" maintenance on a Dashboard here from the…
-
3
votes2
answers233
viewsAlign navigation menu in the center
I am trying to align the "drop" menu in the center. Help? THE HTML: <main id="conteudo"> <section id="produto" class="box"> <nav id="drop"> <ul> <li><a…
-
3
votes1
answer431
viewsHow to create validation to ask if the user really wants to leave the page?
I have a tab where the user will edit fields that are in a form. This data comes from the database. The user can edit them, however, in the end he can write (ie will write/update in the database) or…
-
3
votes1
answer703
viewsGraphic overlay
I have a problem when creating a chart with Chart.js and then do to generate another chart from the menu that is on the same page. It creates the graph, but when I move the cursor across the graph…
-
3
votes1
answer504
viewsHow to "concatenate" Javascript functions?
How does jQuery lib? Example: $(element). text('my text'); I want to know how to do a function like text() in pure Javascript, just to learn the theory. I want to know how the html element is passed…
-
3
votes1
answer95
viewsReferencing variables in HTML
I am a beginner in web programming and I have a very simple question (I believe): I was wondering if there is any way to reference variables of a backend language (in my case I’m using Go-lang) in…
-
3
votes1
answer620
viewsSet a default zoom for google maps
Good morning, I have a question about google maps. I am with a company location map, however I would like to put a default zoom, for example, zoom 3, that when opening the page, the zoom will 3…
-
3
votes2
answers188
viewsSyntax error in Javascript
I am testing an excerpt of code here in javascript and is giving syntax error on line 12. It says that is missing a ; somewhere, but I’ve already reviewed that code and I can’t find the error. This…
-
3
votes0
answers100
views -
3
votes1
answer1005
viewsHow to make a horizontal line in relief?
Many sites use a kind of <hr> in relief, ex: For some time now I have been trying to do in hand without success. I also found nothing about it on the internet <div>…
-
3
votes1
answer63
viewsReuse of code with web language
I’m working on three apps different ones that use Ionic and Cordova. The three are very similar at some points mainly in the layout. I wonder if it is possible to create a kind of library or…
-
3
votes1
answer66
viewsAnchor with Javascript
I have this code: $(function() { $('a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname ==…
-
3
votes4
answers1837
viewsHow to use Json in an html
Hey guys? I’m new here, could you help me...is returning "Nan"! <!DOCTYPE html> <html> <body> <h1>Customers</h1> <div id="id01"></div> <script> var…
-
3
votes2
answers93
viewsStylize elements at various levels above
I would like to know how to change the background of div#whatever by clicking on a li, as in the example below. (using css only) <div class="whatever"></div> <section…
-
3
votes1
answer82
viewsCSS renderiza tag BODY even without the TAG
I have an HTML file which I have defined as follows <!DOCTYPE html> <html lang="pt-br"> <head> <title>Prompt</title> <meta charset="UTF-8" /> <link…
-
3
votes2
answers239
viewsVariable control with Javascript for html
I have an HTML code with Javascript that when clicking above; If x == 1, performs task A and variable javascript arrow x = 0, otherwise, performs task B and variable javascript arrow x = 1, but the…
-
3
votes1
answer740
viewsHide Scrollbar from div with overflow: auto
I have a div .content that groups all content of the site with the following css: margin: 15px 12px; background: #fff; padding: 20px; height: calc(100vh - 30px); overflow: auto; My body has a…
-
3
votes2
answers6898
viewsIs it possible to do Ubmit without refreshing, and without jQuery?
My question is this:: It is possible to do submit of a form, without having to go to the action of that form? I mean, I click submit, I am on the same page but the form is validated, without…
-
3
votes2
answers606
viewsSave image array to different columns
Good night. I would like to count on your help in solving a problem that has been grinding my molecule for a few days and I have not yet been able to find a solution. I have the following code to…
-
3
votes1
answer199
viewsHow to put 3 slides together in Bxslider?
I couldn’t do it myself, I wanted your help. I would be very grateful if anyone could solve this problem for me. This is my slide picture. This is my HTML code. <div class="main"> <div…
-
3
votes1
answer399
viewsHow to improve a star rating code?
I’m with a website and certain points hold me, as this evaluation, is not very cool this script, someone fit can improve for me or tell me what can improve, to make the code more organized, check if…
-
3
votes1
answer320
viewsCapture dynamically created element index
I intend to create a seemingly very simple function. My code is this: var coordenates = $(".coordenates"); var add = $('.add'); var remove = $('.remove'); var newCoordenate = '<div…
-
3
votes1
answer52
viewsside menu with left margin
I have a div central and a div to put the menu. The problem is that it is with a left margin that I can not take out in any way. I believe it is due to the style of the UL.…
-
3
votes2
answers74
viewsHelp with JOINS in 3 tables
I found a tutorial talking about JOINS and implanted in the survey for sales made. But it was almost all right, only at the time of the search for the sales code, instead of bringing me only the…
-
3
votes2
answers783
viewsSelect chained using only HTML and jQuery
Hello, Community! I have two selects in HTML one with the regions of Brazil and the other with the states. How do I fit them without using a template (PHP, Java, C# etc), only with HTML (the…
-
3
votes1
answer456
viewsCheckbox value in Hidden input field
I have a problem with checkbox manipulation with jQuery. I have several fieldsets with checkboxs, and I want when the person clicks on a check the check value is added to the Hidden input of each…
-
3
votes1
answer936
viewsRun the next sound in Javascript?
I have an audio folder with voice/words saved in wave and I want to run Javascript in different cases. For example: "Error logging in. Please try again". I found some code on the web but they do not…
-
3
votes2
answers331
viewsShould email HTML 5 still be done inside tables?
Hello, I’m making a HTML for email and, I realized that they are lately tabulated, but my question is whether that is still necessary. There’s some kind of risks if I do not do in tables and the css…
-
3
votes1
answer217
viewsSelect multiple inputs
I have the following doubts whether it is possible to improve this selection: #form-login > input[type="email"], #form-login > input[type="password"] {} Because if I have multiple inputs it…
-
3
votes3
answers4380
viewsHtml + Css FAQ creation
Good Afternoon, I just started evolving my html+css for creating web pages so someone can give me a hint on how to do what is asked in the image below?. Basically when we click on the area where the…
-
3
votes3
answers5281
viewstake the value of a <td> by clicking on a checkbox of the same <tr> jquery line
How do I get a value from a <td> by clicking on a checkbox that is in the same <tr> in jquery Follows my code: HTML <table style="display:none;" id="tableTime"> <tr> <td…
-
3
votes3
answers7113
viewsRemove space between html list item
I have the following list: li { display: inline-block; padding: 20px; background: red; } <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>…
-
3
votes3
answers332
viewsHow to make the data appear in the fields in Angularjs
I’m coming in with a zip code and a search is made and brings me the other data... However, I want the data to be displayed, each in its own field, as they will be entered in the database. How to…
-
3
votes4
answers9024
viewsHow to make the 'focusout' event an input?
I want to make an input appear when I click on label, when I click out of the input, ie take the focus of such, I would like it to disappear. HTML: <form action="/" class="search">…
-
3
votes1
answer308
viewsLink HTML elements
I’m trying to make a little project just to learn more about HTML5, CSS3 and Javascript. In this project I have a div which is kind of a panel and another div that would be a square that I would put…
-
3
votes1
answer59
views -
3
votes2
answers322
viewsDIV only clickable if RADIO is marked
I wish my <button id="bottaaoPA">Comprar</button> was only clickable if the radio were marked. Code: $(function(){ var contador = 0; $('.pa').click(function(){ if(contador === 0) {…
-
3
votes2
answers1678
viewsHow to change the select text after an option is chosen?
I am making an application in which the user must select his ddi. The ddi are in a select thus: <select name="paises" id="ddi"> <option value="55" id="bra">Brasil</option>…
-
3
votes1
answer293
viewsCreate a download link for path that is in mysql
I have the following structure in the database: reuniaoId escolaId usuarioId dataReuniao tituloReuniao pathReuniao 7 14 1 2016-01-13 AEQEQ uploads/reuniao/ata_2016_2418530_2HK73386F.pdf I need to…
-
3
votes1
answer164
viewsCheck checkbox data that has variable names
I have a routine in PHP that generates a list with ten to fifteen names, and along with each name generates a checkbox that should be checked if there is a missing work of that name, if there is no…
-
3
votes1
answer226
viewsClear field after X time
I have the form below, that after 2 minutes it updates every page: With the command below: <meta HTTP-EQUIV="refresh" CONTENT="120;URL=http://pcn-sig.peccin.local/cracha"> And with that he…
-
3
votes1
answer62
viewsItem class in list always initializes active
I used as a reference for solving the problem: angular ng-repeat Skip an item if it Matches Expression. Next, we know that Bootstrap has the class active to mark with a different color of the…
-
3
votes1
answer431
viewsText effect or paragraph loading
Hello. I’ve been watching it on several websites. Facebook, Dropbox and various frameworks that use css and js an effect that appears before the text is loaded. I hope you understand. Thank you…
-
3
votes1
answer217
viewsUpload mysql query to list
I am making a query in a database that returns a list of users, which I am printing in a table. I would like to turn this query into a list and then insert these users into another table This is how…
-
3
votes1
answer89
viewsNot working <th> text-align
My code that presents the problem and this: html: <body> <table class="default_grid"> <thead> <tr> <th class="opcao1">Opção 1</th> <th class="opcao2">Opção…