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
votes2
answers50
viewsProblems with icon positioning
Good morning friends, I am with a friend creating a site to put in practice our studies, only that we are with a big problem in this social network buttons, we can not position this image in the…
-
1
votes1
answer83
viewsCreate a sequence from fields
Hello, I would like to join the values of the fields and add 1 according to the last input value, Example: javascript <!doctype html> <html> <head> <link rel="stylesheet"…
-
1
votes1
answer1864
viewsNight Mode html css js
Guys, I found an API on the internet of a Switcher that changes the theme of the page by clicking the button, but I’m not getting other Ivs to change color too, just the body that changes color,…
-
1
votes1
answer98
viewsHow to display certain products when clicking a link to another page?
I’m having a problem, no matter how hard I try, I can’t fix it.. The problem is in: <form action="" method="POST"> <div class="containercompras"> <div class="box"> <div…
-
1
votes1
answer49
viewsMenu menu is not working when I click on toggle-btn
Menu menu is not working,when I click on toggle-btn it is not calling my menu-config, it is not showing up function toggleSidebat(){…
-
1
votes1
answer244
viewsHow to take a floating div after a certain scroll
I’m here at my job, and I’m having a problem here on the website. I have a lateral div that has a code js to stay fixed on the page (floating) as soon as it reaches top0 (follow the link below)…
-
1
votes1
answer517
viewsRoute.config of website in c# Asp.net
I’m building a website. But there’s one issue I can’t resolve. I have a Home Controller, where I have all the Views of the site. For example, I enter and when I click one of the images to go to…
-
1
votes2
answers1383
viewsHow to add 100% height to a Bootstrap 4 column
I am using bootstrap 4.1, previously I tried to use the class h-100, and unsuccessfully, even Chrome Developer tools indicating that height:100% was applied to the elements. I decided to use a class…
-
1
votes2
answers244
viewsDo you have the ability to make a toggle button with two buttons?
I have a system, to change the layout of the page for a night vision layout, however for this to happen I had to use two buttons, and I think it’s better to use a toggle button to change the theme.…
-
1
votes2
answers215
viewsGet the value of a radio type button with Vanilla Javascript?
How to select a radio button using pure JS and pick the value set by the user? Follow my HTML code: <div class="form-check form-check-inline"> <input class="form-check-input" type="radio"…
-
1
votes0
answers1823
viewsStandard header and footer for all pages
On the site I’m doing, like most, the page header and footer never change, only the body content. With header and footer I mean the whole part that’s beyond the <body></body>. What I’m…
-
1
votes0
answers33
viewsClick on link and upload new Video
I’m in need of help with the following problem: I have monitoring cameras and I want to make them available to some users, but I want them to view only one at a time to not weigh the link too much,…
-
1
votes2
answers2482
viewsHow to display Dropdown just by hovering over the content?
I would like to know I can display this dropdown without the user needing to click to have their content accessed, just by sliding the mouse over the MSDNAA-Microsft, for example. <li…
-
1
votes0
answers423
viewsTake the value of an html select option and put it in the query.
I am with a huge doubt, it would be the following; I need to take the value of the Select Option that is in the HTML form and play in the SQL query that is in the same file . PHP, follow ex:…
-
1
votes1
answer206
viewsSelect only ONE checkbox with vanilla javascript and bootstrap 4
I have the following code that generates the printable form in the image... <div class="form-check form-group" id="areaTermosCondicoes"> <input type="checkbox" id="accept-term"…
-
1
votes1
answer23
viewsCode error in <canvas>
I’m using a jsfiddle code (http://jsfiddle.net/z52eh9vd/) to create lines, through the canvas (over a map, to make a route) - I am very much started in the same programming! the canva is there, the…
-
1
votes1
answer72
viewsData selected from <option> tag to pass to Model C# - MVC
I am developing an application with HTML and C# in the MVC standards, and in one of the menus I need to put a list of options in which the user will select what he wants, this data comes from the…
-
1
votes1
answer361
viewsResize img inside a div
Hello, I have a website that has posts... and in some posts I put pictures on them, but these images are not responsive! and there’s no way to change her class to a responsive class... because these…
-
1
votes2
answers65
viewsTag exchange with javascript
I want to tag p be replaced by img in Hover, already bringing an image I have in the directory. Is it possible to do something similar? If possible, in the same function. Code: $(function(){…
-
1
votes1
answer138
viewsChange form when renaming in combobox
I have this code to create multiple forms within the same page, and when changing the form name it changes form on the same page: <select id="mudar_produto"> <option…
-
1
votes1
answer35
viewsError of Declaration
I have a problem with a DIV statement, as I’m learning on my own, I’d like a little help with that. When I declare the DIV in this way I can place the images side by side, but there I can not insert…
-
1
votes1
answer409
viewsChange div by clicking / when hovering over with jquery
HTML: <div class="row"> <div class="col-md-4"> <a href="#" class="qualificationbox"> <h2 class="title">Junior</h2> <img src="images\getquote\junior.png" > <p…
-
1
votes2
answers273
viewsCenter DIV on Bootstrap Grid
I have the following Section, and I need the Divs to be centered horizontally on my Boostratp 3 Grid. It always stays on the Left side and I can’t change that. <section id="servicos"> <div…
-
1
votes1
answer107
viewsInclude if in query
I would like to include a condition in the sql query, below. $Q_horario = "SELECT ". " H.horario As horario, ". " L.codigo As codlinha, ". " L.descricao As linha, ". " L.tipo As tipo, ". " IF…
-
1
votes1
answer188
viewsEnd Date after Start Date Input Form
I am making a system and tried to use javascript to ensure that the user does not give the SUBMIT with the final date before the initial date. Almost everything worked out, but in DATE_END input it…
-
1
votes1
answer23
viewsHow do I specify a distant address within several others using an input type="checkbox"
I have a menu made with lists 'ul' with a sub-menu when clicking on the "checkbox" The element is very far away and the reference using the "checkbox" is right at the beginning, I do not know how to…
-
1
votes2
answers686
viewsHow to place a button in a textarea in Asp.net, c#?
Good. I have the following draft of a contact form done on Wix.com but I wanted to put it in my Asp.net project as well.. So far, so good : My code is this:: <body> <style> textarea,…
-
1
votes1
answer32
viewsProblem storing HTML combobox label
I have the following HTML combobox: var concelhos = $('select[name="Concelho"] option'); $('select[name="Distrito"]').on('change', function () { var Distrito = this.value; var novoSelect =…
-
1
votes1
answer42
viewsError in ajax . Javascript
Hello, The following code will present a table with values.I am recovering the cell value of the table that the user clicks through this function $(this).text() in Java. I have to send this…
-
1
votes2
answers425
viewsInsert data into XAMPP database with php
I need to enter the data that the user puts on the website for the XAMPP database, but I’m not getting anyone to help me? Page code on which the data is placed: <label>Nome Produto :…
-
1
votes0
answers293
viewsHow to encode with Email Marketing?
I’m starting with Email Marketing, never done before and am facing a world of difficulties. Through the tutorials seen on the internet, I could draw the following conclusions: We use table so that…
-
1
votes1
answer932
viewsForce Divs with text to remain in the same line?
I have the following HTML structure: <div class="cloud_current_folder"> <div data-folder-name>My Cloud</div> <div data-spliter></div> <div…
-
1
votes1
answer72
viewsUse the same script for multiple forms
How do I use only one script for multiple forms? <script> $(document).ready(function() { $("#formPost").submit(function() { var dados = $(this).serialize(); $.ajax({ type: 'POST', url:…
-
1
votes1
answer112
viewsHow to know the Jquery library version just by viewing the codes made by other users?
I have a small jquery code here, offered by a member of this site that I ended up finding, and I don’t know which version of the library I should upload and execute someone else’s code. I can’t…
-
1
votes2
answers147
viewsMake data written by the user be stored in a JS object
I have this code and wanted to know how to make the user can press a button and, from that, store the data requested by the page in the JS object and, after that, display the message written in the…
-
1
votes1
answer65
viewsError picking radio input data
Guys, I’m having the following problem sending the form: Follow part of the form code and validation: <div class="form-group"> <label for="sexoFunc" class="control-label…
-
1
votes1
answer159
viewshow to define right-axis spacing highcharts?
i have this chart on highcharts: $.getJSON('https://cdn.rawgit.com/highcharts/highcharts/057b672172ccc6c08fe7dbb27fc17ebca3f5b770/samples/data/usdeur.json', function (data) { var startDate = new…
-
1
votes1
answer516
viewsPHP page inside a DIV after Submit
I have a form where the user type what equipment he wants to consult and AFTERWARD to click confirm, I need the fields with the information appear. These fields are in another PHP file that will…
-
1
votes0
answers695
viewsConvert a string with HTML Code into an HTML object(Tag)
good morning. I have the following problem: I am implementing the integration between the company’s mobile application and the VIMEO platform. I’m using the oEmbed type integration, and from their…
-
1
votes1
answer184
viewsSubmenu the same width as the menu
The submenu is the size of the text, I would like it to be the size of the menu header { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px…
-
1
votes3
answers330
viewsHow to return type radio value
Good morning ! I’m having a little problem I’m trying to return the value of a radio field printing on the screen to give a return type to the user before making the upload click. I’m currently…
-
1
votes1
answer31
viewsDatabase data for web page
I needed help because I wanted to send the data from my database to the website BASE FIELDS: Id_Produto, NomeProduto, PrecoProduto,DescricaoProduto, QuantidadeProduto, CategoriaProduto - TABLE NAME:…
-
1
votes2
answers460
viewsChecking whether inputs are empty with Javascript
I have the code below that creates three fields in HTML these fields go through the checks below with Javascript, however, the part that should check if the person typed something does not work, I…
-
1
votes3
answers163
viewsClear campo select
I created an Ajax request to fill in a field select when the user clicks on a certain specialty appear only the professionals qualified for the same. However, when clicking on another specialty the…
-
1
votes0
answers122
viewsSearch system on the site itself, how to link as many pages and recognize the typed characters
I have a search bar here, but how do I search my htmls in my own pc directory? function executar(){ var tx= document.getElementById('tx').value; var lista = document.getElementById('ht'); var…
-
1
votes2
answers71
viewsImage preview
I’m making a preview, and it’s happening like this, I want it to not appear as if it had no image, and only appear the preview image when the user chooses the image. It’s getting like this before I…
-
1
votes0
answers24
viewsFunction is not called on mobile device
Person is as follows... I am on a project of a website, where the same is responsive. On this site, there is an area dedicated to showing news, where there is a button (tag to) which opens a new tab…
-
1
votes1
answer51
viewsResponsive cell resizing <th> <td>
How to adjust the size of cells so they are responsive? <body> <div class="corpo"> <main class="tabela"> <table> <tr> <th class="t">SEGUNDA</th> <th…
-
1
votes2
answers37
viewsHow to add Divs from a past Select number?
You could help me with a problem I’m having? Good people need to create a select with values from 1 to N numbers, after the user select a number in the select have to create n Divs from the selected…
-
1
votes2
answers958
viewsError in modal call with bootstrap 4 and jquery with id= "#"
So guys, I created a modal as follows: <div class="modal fade" id="#siteModal" tabindex="-1" role="dialog"> <div class="modal-dialog modal-lg" role="document"> <div…