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
votes1
answer463
viewscreate div at runtime
I have the following html: <div> <h3>Use font awesome icons</h3> <div id="lobipanel-font-awesome" class="panel panel-info"> <div class="panel-heading"> <div…
-
0
votes1
answer77
viewshow to stop the for loop in a given action?
good people have a problem I have a form that uploads photos and saves the name in the database and moves the file to specified folder the problem this loop always repeats 5 times if I insert 5…
-
0
votes1
answer1070
viewsLoad DIV automatically with Ajax
I need a drug IVD to be filled in the moment the user chooses one of the options in a combobox (subtype). In my index I have the combobox, where I created the Ajax script as below:…
-
0
votes2
answers88
viewsHow to make the page title in blue?
I wonder if it is possible to change the color of the tag title. For example, the page’s SEO title would be in blue color and could end in bold EXAMPLE: <title>O meu titulo da pagina em COR…
-
0
votes1
answer995
viewsDelete or change sql data using php
I am creating a page where some information will be uploaded, and this information will be transferred to a database and displayed on the same page, as below: As highlighted in blue, I created a…
-
0
votes1
answer786
viewsPicking an element by id after repeat in an array - HTML/Javascript/Angular
Hello, I need to take an HTML element after an ng-repeat, to apply CSS commands in the div in which it depends on the result that comes from the database. For now I can only catch this element, but…
-
0
votes2
answers90
viewsAnimation with CSS
It is possible to use an infinite animation but with an interval time? Example: perform the animation + wait 10 seconds + and perform again, and so on. Is it possible? If yes, they could help?…
-
0
votes0
answers56
viewsfail, log data into Database
Hello, I’m having some problems trying to register the form data in the bd, Form code: <form class="form-horizontal" method="post" action="processa/proc_cad_star.php"> <div…
-
0
votes0
answers129
views -
0
votes1
answer49
viewsClicking on the page always calls the first div
I have two section on the same page. Inside each page section have a div, but when I click on the page of the second div always returns me to the first div. code: <?php require("conexao.php");…
-
0
votes1
answer412
viewsElement exceeding the size of the div
I have a col-md-4 that has a figure and a figcaption, when hovering the mouse above should be displayed to figcaption with two little buttons the effect works, the problem is that the figcaption is…
-
0
votes1
answer42
viewsDomain Forwarding/Mapping
I don’t know if I used the correct terms in the question, but I’ll explain what I need. I am developing a system, and in this system there should be profiles of entities/companies. Each of them…
-
0
votes0
answers504
viewsRemove json_encode result /ufeff
When making a registration using ajax, Success does not execute the commands from within it, when analyzing the code I noticed that there is a /ufeff in the value returned by php and I think this is…
-
0
votes0
answers181
viewsHow to get the value of a tag with a specific class/attribute with DOM and php?
Hello. It is that I wish to get the value of a certain tag with a specific class/ attribute using DOM and php. Below is the html that will be used: <div class="header nopadding filmesonline">…
-
0
votes1
answer1500
viewsSend Form Data Directly to API
Hello ! I have a simple php registration with some customer data, I need to send this data to an API with POST of an PR of our company and record this data in the database too, I’m beginner and I’m…
-
0
votes1
answer73
viewsSet the site favicon (Flask)
I want to know how that puts the icon of the site, I have the icon saved on static / favicon.ico, but in the template when I try to reference, n comes to nothing, it’s as if the code n existed, I’ve…
-
0
votes1
answer124
viewsSplit table into two div
Hello I have four div with fixed size 300px each, and a table in the first div, I need that when this table exceeds the size 300px the rest of the content go to the second div and so on. #pg1{…
-
0
votes1
answer278
viewsElement does not accept "height" or "min-height" property
I have the following file with HTML, CSS and Javascript codes, my problem is the following: At the end of the file, I have a tag <ul class="req"> and within it I have a <li>, the problem…
-
0
votes1
answer49
viewsUse checkbox to bring up image
Good evening, I am very beginner in web development, I would like a help, I want to make 2 checkbox, in which, when the first is marked, appears the image1 , and when the second is marked, appear…
-
0
votes1
answer25
viewsReplace string by image
I am making a game board and when I try to replace the blocks with pictures, it returns me a block with the image and the identification string of that block. I intended to completely replace the…
-
0
votes1
answer35
viewsAddevent in the table
I have the script below: <script type="text/javascript" src="https://addevent.com/libs/atc/1.6.1/atc.min.js" async defer></script> <div title="Add to Calendar" class="addeventatc">…
-
0
votes0
answers90
viewsHow to increase modal size?
I have a modal that is powered dynamically by BD and I would like to be able to increase its width however the most I can find is to add the modal-lg class but I need a larger width, what I can do…
-
0
votes0
answers39
viewsProblem with internal scrollbar
In certain resolutions (smaller) the scroll bar in the div "contacts" works perfectly, but in others they are superimposed by the content on your left. With normal resolution is as follows: The…
-
0
votes2
answers13324
viewsChange content according to screen size
I have a link with a text that is normal when displayed on the pc, however, very large for mobile phones (where I would use only one acronym). I need a way to change the text according to the…
-
0
votes2
answers747
viewsHow to center menu
I’m trying to center this menu but I can’t, I’ve tried several tips on the net but it doesn’t work, someone could help me? HTML <div id='menu'> <div class='menu1'> <ul class='menu'…
-
0
votes1
answer29
viewsBox-Sizing on input button does not work
Guys, I have a form where when I apply a border-bottom to the input button it jumps because the box-Sizing is not working (I believe that’s it). In other input is working properly. Can anyone help…
-
0
votes2
answers39
viewsImage disappears after animation + window resize
I’m building a menu for my blog, I found some code on the net, and I’m trying to implement one of them. The problem is this: the image (logo) disappears from the menu (header) when I do the…
-
0
votes0
answers23
viewsForm does not send by IE, nor by firefox
My form is only sending by Chrome, I would like to understand the pq. It uses the normal post method, only that I have this JS that depending on the value that is there, it sends the user to the…
-
0
votes2
answers594
viewsproblem when logging into form with php
I developed a php login system in this website no database with a fixed password localhost everything works normally more when I uped the files to the server and try to access it arrives to load the…
-
0
votes1
answer75
viewsHow to read json in html
I don’t know if that would be the right question, but I have an html code and I’m trying to fill in the json I have, but I have no idea how to do it, what I googled didn’t work. my html is this…
-
0
votes1
answer224
viewsJavascript or Jquery, onblur event
Good morning, I want to update the database with the information I type in the input, as soon as this input loses Focus with onblur I want it to send the data to the php page that will update the…
-
0
votes1
answer62
viewsPrevent Google Event sending when pressed F5 and access via GET
Personal talk! I need to do a prevention of sending event of analitycs in the following scenario: I have a form that when Submit is given, the post is processed in ajax and this ajax returns a URL…
-
0
votes2
answers821
viewsAre there possibilities to hide part of the html of the inspect?
I want parts of html to be hidden from the user’s inspection, there are possibilities to run it with some script or with html itself?
-
0
votes2
answers61
viewsDoubt about class assignment and ids
Is there any good practice that guides the order I should define the id and the class of an HTML element? I know it doesn’t matter what order the browser renders, but there is some code style guide…
htmlasked 5 years, 4 months ago Thiago Krempser 1,878 -
0
votes1
answer398
viewshtml+css(bootstrap) file when inserted by php’s "require_once()" dropdown menu does not work
I was creating the menu of my system and everything was working properly, the menuHorizontal.php file contains the menu and in it has a dropdown that was working, when I click, it opens the submenu,…
-
0
votes0
answers23
viewsButtons with automatic modals based on JSON
Hello I’m making a website that builds images and modals based on Json but I can’t do the script that makes me copy the first div and based on the case numbers, they appear on the side. I had…
-
0
votes1
answer172
viewsThe HTML tag has an attribute or attribute value not allowed
The HTML tag has an attribute or attribute value not allowed. The problem persists in this code snippet: <form class="wpcf7-form" action="/wp-admin/post.php?post=4648&…
htmlasked 5 years, 4 months ago user151540 11 -
0
votes0
answers28
viewsProblems with horizontal Nav-tab
I have a vertical Nav-tab component that works properly. When I add a horizontal Nav-tab inside a tab, it takes the shape of vertical. Does anyone know how to fix this? I’m using a bootstrap…
-
0
votes1
answer306
viewsHow to export a Powerpoint file to HTML?
I have a file Power Point which is interactive, that is, some buttons send the user to another slide, and remain interactive to each slide. I need to generate a HTML to insert into a web page so…
-
0
votes1
answer42
viewsjQuery Store one item at a time
I have following code. There are several options But just one option I’d like to disavow I click one to check then another Finally when I find the option I want, then click on the button…
-
0
votes1
answer7835
viewsHow to do CSS and HTML search field
Hello good afternoon I would like to take some questions I’m starting to learn now , I have a problem to create a search field on my site , I would like a help . I’d like to put this search system…
-
0
votes1
answer166
viewsAdd and Remove Divs Function with PHP and jQuery
Good morning guys, I’m facing a problem and I’d like to know if anyone can help me. I have developed a code to add and remove Divs dynamically and with autoincrement and decrease of the index. The…
-
0
votes1
answer29
viewsdifferent font abandon on the web
Morning all right with you? Next... I downloaded and installed the Abandon font and in photoshop it looks great, then, I launched in html with the command @font-face { font-family: abandon; src:…
-
0
votes0
answers154
viewsRank system higher to lower order
As the title says I’m having trouble putting a rank system from higher to lower number. My system is in the order of the database order in the database = 10,9,6,8,2,3 <- is in the order msm on my…
-
0
votes1
answer1017
viewsHow to print keeping the page layout?
I’m developing a basic hotel control system. When registering the guest’s entry in a suite, I need to print a "receipt" for the customer, but putting only the function window.print() Javascript is…
-
0
votes1
answer52
viewsVector sum doubt and bank recording
I have this simple form <form> <div class="itenspedido"> <h4>Itens do Pedido</h4> <div id="itens"> <div class="div-bloco-form"> <label…
-
0
votes1
answer118
viewsCalculate expenses per day and display on the chart [JQUERY]
I am doing a school job that consists of implementing a web app (mobile responsive site first) to store in the Local Storage API spent by the user. Minimum resources: Add an expense: description,…
-
0
votes1
answer198
viewsError when adding column with dynamic table in Jquery, with dblclick?
I have a dynamic table with data extracted from the database, and I make changes to the values and salaries dynamically without problems, but at the end of the table I created a <tr><td…
-
0
votes1
answer87
viewsAdding rows and columns in DOM table
I’m having difficulty using DOM to generate an HTML table. Follow my code. function table(){ let max=100; let table = document.getElementById('tableNumber'); table.innerHTML += '<tr>'; for…
-
0
votes1
answer872
viewsNavbar bootstrap Collapse
I need a customization in a navbar that is the following: First, without the Collapse, appear this way (this I achieved and it is very quiet) Then, when you have smaller screens, turn into 2 buttons…