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
votes2
answers50
views -
0
votes1
answer3250
viewsHow to change the color of text selection in VS Code?
In the image, the selected text is with black color, I want to put a lighter color.…
-
0
votes1
answer270
viewsHow to adjust the width in the background-color in ccs
I’m having trouble adjusting the background-color of a table using css so that the background is all black and still on a margin to the sides, up and down. Width can be adjusted with width: #tabela{…
-
0
votes1
answer135
viewsWhen you click on the data list run the specific ajax function
I need that when it is "clicked" in the option of the datalist "cities" execute the ajax to load the neighborhoods, the way this has to be pressed "enter" $(function(){ $(".carregando").hide();…
-
0
votes1
answer96
viewsReturn image upload in index.php
I uploaded an image and by clicking "send" I want you to show me the image on the index.php page. Displaying image in the browser Code: <html> <body> <form method="post"…
-
0
votes1
answer222
viewsJavascript - validate form if clickado
Within a <form> I have two formularies but one is not mandatory, only if the person wants to enter a new address. the problem that this happens is that regardless of whether the person clicks…
-
0
votes1
answer42
viewsFlexbox problem in Firefox
I was making a Form that has to stay horizontal and that the inputs within it are responsive. I made the code in Chrome works perfectly however my problem and with Firefox, simply inputs do not…
-
0
votes2
answers845
viewsHTML & PHP -Make a log in button log out
I have my PHP code created for both log in and log out, I confess that I have read several articles on google how to turn a log in button into log out but I confess that the read did not help at…
-
0
votes0
answers408
viewsDiv fixed on top and another div with scroll below
Hello, I’m trying to (unsuccessfully) leave a div with menu components at the top and another div fix just below this. I left the first div fixed and put a margin-top on the second but when I scroll…
-
0
votes0
answers2340
viewsDisable inspect element check
Is there any way to disable or hide the inspect element option when the person right-clicking or Ctrl+Shift+I on a web page?
-
0
votes1
answer25
viewsUse querySelectorAll in an option when there is more than one Select
Good morning guys, everyone have a great holiday. I have a javascript function that counts a list like this: let counting = document.querySelectorAll("option:checked"); At first I thought it worked,…
-
0
votes0
answers136
viewsAdd Dynamic line values in the Database
I have this table above , and I have the add button to add a row to this table , as in the image below. I wonder if you have how to save this new data from the line added in the database follows my…
-
0
votes1
answer49
viewsDifficulty adding PHP MYSQL data
Well, the title itself is self-explanatory. Perhaps the only relevant detail I can add, is the fact that when performing the operation I get no error, nor Warning. Thank you in advance for your…
-
0
votes1
answer58
viewsHow to effect text as soon as the user scrolls the page
Wanted to put the effect when it user was going down the texts in the div appear going up, here’s a site I wanted to put this function HTML <!DOCTYPE html> <html lang="pt-br">…
-
0
votes1
answer965
viewsCall header and footer without mixing php in html
How to not mix PHP in HTML? I have a file header.html - i want that file to be shown on every page of my site. How do I do this without renaming the header.html for header.php and give a: <?php…
-
0
votes2
answers1803
viewsHow to take data and save it to another page
I’m having a question, I’m making an order registration system, but when I click the button I want this data to appear on another page: example: here the record: In this second image, when clicking…
-
0
votes1
answer461
viewsInsert multiple html with ajax
I have the following code in jquery: musicas: function(){ $.ajax({ url: 'assets/includes/oloco.php', type: 'GET', dataType: 'json', beforeSend: function(){ efeito.inicio(); }, success:…
-
0
votes1
answer32
viewsBlocking options when selecting link in mobile version
Hello I would like to know if there is any way to block page options when holding an image in the mobile version, because in the web version when I step with the mouse in the image (Hover) appears…
-
0
votes1
answer127
viewsError in Hangman Game
I’m developing a hangman game using Javascript and can’t solve two problems Whenever I hit the first letter and print the word on the screen, it prints only after hitting the second letter and does…
-
0
votes0
answers552
viewsPlace . txt local file inside a local page
Eae, y'all. I want to warn you first that I don’t know much about java and these kinds of code, so I hope I don’t have any answers, but come on. Next, what I need to do, for a project, is to use the…
-
0
votes2
answers426
viewsInterpretation of Tags with HTML
I am programming using the Laravel framework and normally to use PHP within HTML use double keys {{ $variavel }} When I should interpret the HTML inside this variable I use {!!$variavel!!} I didn’t…
-
0
votes3
answers558
viewsDisplay only part of the text in an Html page
I would like to display only part of a String that contains a text. Make a "Click to read more", I tried with substr but since I don’t know what character a word ends in, he cuts the text in the…
-
0
votes2
answers82
viewsHow to pass data in PHP
I have a question, I’m making a system for registering orders, but when clicking the button I want this data to appear on another page (I had done in javascript but this compromises security, I…
-
0
votes1
answer36
viewsProblems with PHP+ jquery
How do I take a value from a button in jquery and move to another page? My problem is to pass the data of the request I received from the bank and make this data appear on another page and I want to…
-
0
votes1
answer679
viewsHow to remove favicon from an HTML page?
I put an icon in the tab of my browser using the icon tag in the head only when I delete this tag the image remains there, still updating even closing and opening again the browser it remains there…
htmlasked 5 years, 6 months ago user139915 -
0
votes0
answers39
viewsVideo running in the background
Good afternoon, you guys! I’m trying to make a test code here with a video running in the background, but for some reason there’s a time that works and there’s a time that doesn’t. If you catch up,…
-
0
votes1
answer91
viewsSelect limiting query, and does not display the latest queries
In this script, it is limited to the display of 6 queries in the SELECT variable $quantidade_pg = 6, I used the IF to inform that all news situations other than 2 (unpublished) should be displayed.…
-
0
votes2
answers794
viewsSidebar with accordion effect
Given a sidebar, how do I get the effect of a accordion? Currently, my sidebar works almost perfectly. This means that by clicking menus that have submenus, they are expanded. I’m just not getting…
-
0
votes3
answers60
viewsHeader and footer does not follow page width
When the page is lowered the footer nor the top bar accompanies the width of the page, they are cut. At the moment you don’t need to be responsive, just keep track of the page width when lowered.…
-
0
votes2
answers81
viewsGrab an inline style value
If we consider an inline style HTML tag like this: <li style="width: 360px; float: left; display: block;">conteudo</div> it is possible I take only the value of the width to make a…
-
0
votes2
answers157
viewsSearch that shows the contents of a div
I’m trying to create a website that will help me here at work, which is as follows:: I wanted only one search box to appear on the home page, nothing else. All the necessary content would only…
-
0
votes0
answers112
viewsWebrequest connection
I have a website ready, but I want my program to check the user login on the site. Basically it can register in both and access both with the same user(The site and the system uses the same…
-
0
votes0
answers21
viewsDoes the <button> tag default to type="Submit"?
If I use: <button>Enviar</button> is the same as using the form below? <button type=“submit”>Enviar</button> In other words, if I use a tag <button> without defining…
htmlasked 5 years, 5 months ago Thiago Krempser 1,878 -
0
votes1
answer47
viewsMovement of HTML page
When I click on an anchor like <a href="#um_id">clique aqui</a>, that has a #ID on href, it defaults to move up to the part that has this id as a bookmark. How I would discount this…
-
0
votes1
answer79
viewsWhy is the HTML5 <picture> tag not resizing the images?
<!DOCTYPE html> <html> <head> </head> <body> <picture> <source media="(min-width: 490px)" srcset="img/smartphone.jpg"/> <source media="(min-width:…
-
0
votes1
answer24
viewsConnection of navcat seat
I’d like to solve a data connection problem in the navcat. I can’t send the data to the bank and I don’t know what I’m doing wrong, if anyone can give me some suggestions, the connection is mysql.…
-
0
votes1
answer22
viewsPlay audio while loading
Hello. When we use the element <audio> It only plays when it’s loaded 100%. I wanted to have an idea of how to make it play while still charging, to avoid the delay. Can you give me some…
-
0
votes3
answers406
viewsScreen forwarding after Load
Does anyone know how to do when I press a link I be directed first to a load screen and after a certain time (thing of seconds) I be directed to the page I would really like to go? In short: the…
-
0
votes0
answers50
viewsMake a while run from the click of a button
I have a form that must be filled out automatically. But this fulfillment depends on a user’s choice, so it should be executed after the choice, I believe a button would be ideal. To illustrate the…
-
0
votes0
answers48
viewsRelative path to CSS and JS files hosted with Godaddy does not work
I am setting up a site on the Godaddy provider and I have a problem causing the CSS and JS settings to be applied on the site, because it appears all without marking. I ran a test to check if the…
-
0
votes0
answers14
viewsHow to make a login system?
I wanted to know how to create a login system in html! or if it is necessary to use another language together can speak too. I am beginner and ask you to do a part telling which commands is to use…
htmlasked 5 years, 5 months ago Rafael Silva 11 -
0
votes1
answer59
viewsHow do I stop the image from disturbing the input?
The transparent part of the image is in front of the input, I know it’s a simple problem, but I couldn’t solve it. The image I’m using is this: <style> .firstBlur { margin:20px 20px 0;…
-
0
votes2
answers204
viewsHow to copy content from a div to an input?
I’m trying to copy content from a div to an input. I’ve been able to copy from one input to another or from one div to another, but I couldn’t get from one div to an input. <div id="teste">…
-
0
votes1
answer599
viewsHow do I make a method in the Spring controller that does the same as this method of a Servlet?
This code returns a json for an html page that uses an ajax resource to load a Chart from the Google API I’d like to do the same but using a Spring controller! public void doGet(HttpServletRequest…
-
0
votes2
answers432
viewsHow can I create an array in Javascript
Hello I recently started using this platform to try to clarify some doubts and I’m having some difficulties in creating arrays to store data through Javascript. I think the mistake is something…
-
0
votes1
answer44
viewsJavascript help | Rename paragraph
Ola would like to know the following, as I would logica to rename a paragraph directly by html, for example. I have an empty paragraph, the user clicks on the paragraph and type a word from enter…
-
0
votes1
answer1119
viewsHow to make a registration confirmation modal?
Good evening, folks, I have a question about modal. I have an address confirmation form, but I sent my data via bank, so far so good, the problem is: I wonder when I click the button confirm how I…
-
0
votes1
answer121
viewsinput that complete word being typed
all right? I am trying to create a function in JS that as the user is typing in the input, it will complete ahead with suggestions, as it is a very large list of all nationalities of the world,…
-
0
votes1
answer44
viewsProblems deleting mysql database
Good morning people, I am creating a function to delete in the bank, but when I click the button it does not work, I would like some suggestion. php requests. <?php $sqlCat = "SELECT…
-
0
votes2
answers157
viewspick up text selected by the user
Guys I have this Javascript code below with him I’m trying to get the text selected by the user within an iframe, iframe is with designMode="on" or is it in editable mode, the problem and I’m not…