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
-
0
votes0
answers58
viewsChange color of navbar link according to page position
I would like to know how I do to change the color of each link of my navbar, according to the session I am on the page, if someone can tell me the name of this technique would also appreciate. Ex:…
-
0
votes1
answer62
viewsHow to reduce page size without formatting
Good morning, I’m a beginner in html and css and I was doing a page for college. The page is done and works well in full screen, but if I reduce the size of the page in the browser, it is no longer…
-
0
votes1
answer63
viewsWhat’s wrong with my Javascript scroll tag body code?
Look at my personal code, my scroll is on the tag body, but it doesn’t work, I’ve done everything and nothing my scroll ta na < body > and still doesn’t work, what’s wrong ?…
-
0
votes4
answers687
viewsDisable html element with jquery
I have this code, where I would like to disable it when performing a function, and after finishing, enable it. <th href="#" style="text-align:right"><a title="Validar Pedido"…
-
0
votes2
answers702
viewsHTML button as selection for questions
The user will access a screen in HTML, where will have some questions and each question will have 3 or 4 options of answers in button format. When he clicks on the button, the button changes color.…
-
0
votes3
answers1026
viewsView upload files in an HTML page
I’m Developing a Physics Study Site, Where the Teacher Uploads Files for Student Visualization. Saved the url in the database and the file in a folder. I am unable to view the pdf file on the page.…
-
0
votes2
answers330
viewsEnable and disable button for dynamic elements in cart
I created these functions in case the quantity of the product is changed, regardless of whether it is by the arrow buttons or directly in the field, the "Update" button appears, only for the product…
-
0
votes1
answer70
viewsBug when doing INSERT in database with PHP and Mysql
I have an INSERT script that even not selecting any image within another input, in the database saves the name of the image formatted by the Rand function but without any extension, instead of being…
-
0
votes2
answers900
viewsProblem inserting text into a Javascript div
I want to change the html content of a div, putting the 1 option of an array of elements, but when I do the following code nothing happens: <script> var players = ['player1', 'player2',…
-
0
votes1
answer33
viewsGet USER AGENT and modify
I’m trying to set up a PHP function to check the USER AGENT I should be able to know if you are on a mobile or desktop After this based on this information I will apply a different style to the page…
-
0
votes1
answer55
viewsJquery-Ui.css css is blocking page elements
I have elements arranged on my screen. However due to the use of the jquery.tab plugin css is blocking the page elements. Code Index.php <!doctype html> <html lang="en"> <head>…
-
0
votes0
answers27
viewsweb Speech Listener
I have the following programming. She writes input to text4 and text5 by the corresponding button. However, I wanted to do it automatically, that is, when I start input, via text4, the listen4()…
-
0
votes1
answer202
viewsHow do HEADER track the height of the internal elements?
I have the following problem. Dude header does not automatically track the height of the internal elements. This is what happens when I set the css border-bottom:#DE5207 3px solid; to the header it…
-
0
votes1
answer948
viewsFormat Note to 2 Decimal Places
Receiving four input type values number and doing some operations I’m needing the returns to be formatted forever 2 decimal places. Does anyone have any tips on how to do it, because I couldn’t and…
-
0
votes1
answer181
viewsPrint every HTML page
I made a simple function to print the content of my site by clicking a button, but when clicking the button (Ctrl+p) the images of the site do not appear, only the content... Only appearing if user…
-
0
votes0
answers44
viewsHow to exchange a video link
Well I’m having a certain difficulty in exchanging the links that are in my video, I assembled the player and put the links as is usually done but I set up a panel for exchanging links let’s say so…
-
0
votes1
answer342
viewsDisplay notification div with JAVASCRIPT audio
So, I made a code with jquery that after 8 seconds of open index page displays an audio message div. $(document).ready(function () { // Mostra a div após 8 segundos setTimeout(function() {…
-
0
votes2
answers174
viewsarray to string conversion error
I need to insert in the variable database that are in a php array, I wrote the cogido: for ($i=1; $i <= 20 ; $i++) { $sqlp= "INSERT INTO pergunta$i (pergunta, opcao1, valor1, opcao2, valor2,…
-
0
votes1
answer36
viewsWhich attribute to use to make the entire area of a checkbox selectable?
I want to make the "sample text" of the code: <label for=valueexemplo> <input type=checkbox value=valueexemplo>Texto de Exemplo </label keep the entire selectable text area, as if you…
-
0
votes0
answers62
viewsHow to create an upload system that creates and modifies html
Guys I’m trying to create an online library, I found an open-source solution that puts the pdf in the folder and changes the address in index.html. When you do this it will create a pdf viewer. Is…
-
0
votes1
answer29
viewsResponsiveness in iframes
I am currently using this code to set the height of an iframe: Iframe: <iframe class="rastreamento" style="width: 100%; border: none;" src=">meutarget<" frameborder="0" scrolling="no"…
-
0
votes0
answers74
viewsProblem with checkbox with dependencies and other checkbox
Good afternoon to you all. I have a system in which I am setting the permissions in which the profile can have access on a page via checkbox for each module of the system. I have a page with form in…
-
0
votes2
answers236
viewsChanging the label of a radiobutton
I have this radio button and would like to change the text of radio button "All" for yes, depending on the condition: <label id="radiotodos" class="radio-inline control-label"> <input…
-
0
votes1
answer606
viewsAssign a numeric value to an html class using jquery
I’m trying to make a memory game and for this I need to assign values to the div where they will be stored to compare if the selected figures are equal. I tried this way (as code below) but it is…
-
0
votes1
answer39
views@media does not change content
Good I was trying to make the responsive of a website but when I went to change things to mobile just did not change anything and I do not know how to solve. I have a script that makes my carousel…
-
0
votes2
answers113
viewsIs there only display inline and block by default in the elements or others?
I see a lot on the Internet talking so much about just display: inline and display: block, but in tables, for example in the element <table> his display is display: table, I wonder if: There…
-
0
votes1
answer908
viewsImage alignment on the Carousel
How can I do this central alignment, and not get superimposed on the header menu? <div class="row"> <div id="carousel-example-generic" align="center" class="carousel slide col-md-8"…
htmlasked 7 years, 4 months ago Bruno Mendes 1 -
0
votes2
answers861
viewsPass ids as parameter to Function js
I have a function that you would like to receive the id values of some quantity, unit value and result fields. But I’m not getting it. ` String.prototype.formatMoney = function() { var v = this;…
-
0
votes1
answer73
viewsChange style of repeated classes differently with CSS
I have a "test" class with a stylization and soon after I have another "test" class. What I’d like to know is how to change the style of the other class differently from the first. What limits me to…
-
0
votes1
answer42
viewsHow to filter by categories in php?
Good afternoon guys, I’m new in web programming and I’m making an online schedule where a student registers a test or work that will and then (through CRUD) the site shows the evidence and…
-
0
votes1
answer828
viewsVariable within GET Ajax Request
Good afternoon, I need a help, I have this request get from ajax that sends to the web service, and I need to put this variable id, in the url, because inside the webservice I take this variable and…
-
0
votes1
answer164
viewsWhat does this code mean/do?
Well, I’m learning to use Javascript, mainly working with index, and I always come across this, but I want to understand what each part means, because I don’t want to use it without really…
-
0
votes1
answer48
viewsIs it possible to use native components in web programming?
I wonder if I can call the native Picker dropdown from an Ios or android phone using javascript code on the web? or a React library. for example this lib of the React-Native:…
-
0
votes1
answer59
viewsInsert a character in a specific point of a String
I need a light. I have a program that receives, processes a txt and plays on the bench. The txt comes this way: 1;;Company Name 145241;00.000.000/0001-77;A;0,00000000;5000 Each ' ; ' separates the…
-
0
votes1
answer211
viewsHow to import the Chart.js library into an ASP file?
I am trying to insert a chart with Chart.js into an ASP page (not ASP.NET). I saw some tutorials from Chart.js itself and found the following statement: You can download the Latest version of…
-
0
votes1
answer1584
viewsAlign table columns
I have the following table, and would like to know how I can align the values according to the corresponding column As you can see in the image the values are misaligned, the 9 that refers to "GP"…
-
0
votes2
answers74
viewsHow I see the code of an already interpreted html page
When I make a request in an HTML page with Python I get the source code , but if I access the page and go to see the code of the page by the options of developers I have there a totally different…
-
0
votes1
answer301
viewsError while deleting with PHP using PDO class and object orientation
I’m making a delete on my form manut_usuario, below is my method to delete which is in class usuario.class.php; public function DelUsu($id){ try{ $delUsu = "DELETE FROM usuario WHERE idu_usujport =…
-
0
votes1
answer123
viewsHide div after keyboard opens. HTML
Good night! I’m developing an app using Ionic / Angular, but I’m having a problem. When clicking on the keyboard, the form elements overwrite the menu and the logo. I want to hide the Divs…
-
0
votes1
answer74
viewsIs it possible to add dependencies manually in Vuejs?
I’m starting my first project using the Framework Vue.JS, I know that by Vue UI it is possible to open the Vue CLI allowing us to add plugins and dependencies to the project. I have dependencies…
-
0
votes1
answer289
viewsShow/Hide "a div" by clicking on radio button
How do I, when dialing a radio buttom, release a content from a div? Type this example only using radio buttom! Thank you <label>Mostrar termos:</label> <input type="checkbox"…
-
0
votes1
answer322
viewshref in a div
I’m new here and I’m having a problem turning the DIV link into a real link. At the bottom of the screen I show the link but it is not real. The link called and shown in the browser is from my own…
htmlasked 7 years, 4 months ago Mithidieri 3 -
0
votes1
answer51
viewsShow in select database results
I’ve researched this before and I could never get a code that works. When I put the code on, nothing gets a single option. I wanted a code that could see the data in a select Code that I’m using:…
-
0
votes1
answer41
viewsIs there some kind of ALT property for a form field in HTML?
I have a form with some fields that will be filled by the user. Sometimes the filled-in information is larger than the field. I wonder if there is any strategy to mouse over the field, and show the…
-
0
votes1
answer114
viewsInput Spaces in Twiter Bootstrap
In the registration forms the horizontal and vertical spacing are very large, I solved the problem by adding the style="margin-bottom:10px;margin-right:-10px" in each input, however, in the size Sm…
-
0
votes0
answers798
viewsStoring answers to a quiz with javascript
I am trying to create a quiz and would like to know how I create a function to store the answers using javascript. I can store in an array and then compare if they are right? <!DOCTYPE html>…
-
0
votes0
answers90
viewsHow to prevent an HTML area from being clickable?
Is there any way to prevent an area from being 'clickable' using Javascript or CSS?
-
0
votes2
answers67
viewsLimit number on an input
I would like to know how to limit the maximum number entered in an input. For example: I want the largest number that can be typed to be 42, that is, if the user tries to type 43: either it would…
-
0
votes0
answers74
viewsCSS does not load into HTML
Guys, when an exception occurs in doFilter(Filter) the code below is executed: RequestDispatcher requestDispatcher = request.getRequestDispatcher("maintenance.jsp");…
-
0
votes2
answers80
viewsWhere do I add the ". py" calculations to the HTML page?
Speak, people! Blz? I’m starting out in the area and I’m having a lot of questions. I set up a basic HTML test page and wanted to insert a python code I created (test calculation). Where and how I…