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
answers294
viewsGroup data into a php table
My need is to group the notes in a single row where the OE are repeated for example: My code below: <?php foreach($class->Lista($empresa,$fatura) as $dados) { $CdFatura =…
-
0
votes1
answer578
viewsAxios GET is not collecting any information
Save it, I’m having trouble collecting data from a weather API. My goal is to collect much of the rain data and for this I am using Vue Axios but I can not collect anything because even after…
-
0
votes1
answer323
viewsHow to adjust Table Width in PDF?
I am exporting a report to PDF but the colors and widths are not working. $campo = $service->relatorioOrcamentario($data); $tabela = '<table border="1">';//abre table $tabela…
-
0
votes0
answers87
viewsIs it possible to change the CSS code of an existing page by just linking to another page?
The question is this: I have a call system (GLPI) that by default is responsive, but does not look cool in mobile version. I’m studying javascript >> React and then try to create a full mobile…
-
0
votes1
answer49
viewsHow to transfer an HTML table into a Data Frame
I’m trying to integrate a python script with an HTML table How can I do that follows my schedule. <table data-spy="scroll" class = "table-responsive-sm" id="table-prem" > <thead> <tr…
-
0
votes1
answer34
viewsFind div that contains image and add class for CSS recognition
I need help finding tags <img> inside the structure below. When found, add a "hasimg" class together with the "skuFiltro" tag class <ul> primary. I need to recognize if you have image or…
-
0
votes1
answer180
viewsHow to create HTML page with PHP
I don’t have much knowledge and I don’t know if the way I’m doing it is correct or has any negative points. There’s some better option for me to do? <?php $ht = '<div class="panel…
-
0
votes1
answer14
viewsHow to pass an index to the element according to its position?
I am loading data from an external api with json and jquery,every ajax request a div with the item class, a div with the more_info class and a see button plus, which loads the rest of the data, and…
-
0
votes1
answer384
viewsDropdown menu does not appear - Laravel Project
I made a layout in which I want to put a navbar where I want to put a dropdown, but the dropdown menu does not appear, only the button is there... I tried to put Jquery but it didn’t work, follow…
-
0
votes1
answer52
viewsPush in an Array made by Drag and Drop
I have two Ivs, one (div2) that contains 4 images that will be dragged to another div(div1) that has a fixed image. My need is to play the ID values of each image within an array called Answer in…
-
0
votes2
answers906
viewsPlace images on top of links
Hi! I wanted an image to appear when I hovered over an HTML link... Here, what I have now... <body> <img…
-
0
votes1
answer818
viewshtml javascript list json data in <ul> <li>
Staff I ask for a help from friends: the code makes an ajax request to take data from an api (json) and pass through all objects within the array my json= [{Name:"Ajato 2000"}, {Name:"Crystal I"} ]…
-
0
votes1
answer126
viewsHow to pass more than one url to ajax consume json?
I need to create div’s with data from two urls with json via ajax, and the data will be returned on the same page, but I need to pass two urls as parameter, as I can do this? var url_aparecida =…
-
0
votes1
answer53
viewsImages are not displayed, even with correct path
I am not able to make any browser display the grid images, it is not path problem because I opened the code in other editors that have the option to display the link of the figure and open it in…
-
0
votes4
answers1217
viewsMultiple choice question
I have to develop a quiz with javascript, the first part already developed that are to get the answer of questions with only 1 correct answer, but I’m not able to do the second part that are the…
-
0
votes1
answer54
viewsTips on how to make two Excerpts within each wordpress article
I need tips on how to create Excerpts (summaries) in Wordpress, I have some knowledge on the platform but still very limited and do not know where to start. There are two summaries within each blog…
-
0
votes1
answer165
viewsSet responsive table size
I’m creating a responsive table, only when I’m on a big screen, the table gets smaller than it should, I tried to add a max-width in the css of it, but it still doesn’t get the proposed size.…
htmlasked 5 years, 10 months ago Teresa Santos 53 -
0
votes0
answers195
viewsEmbedded videos in a responsive way
Good morning, I am developing a website and through it you can incorporate videos from both Youtube and Facebook. Youtube videos adapt perfectly according to the size of the div, the problem is even…
-
0
votes1
answer758
viewsForeach in an HTML table - PHP - CODEIGNITER
Hello, I’m doing the following: Model: public function getLocatarios() { $this->db ->select('*') ->from('tbl_locatario'); return $query = $this->db->get()->result(); } Already on…
-
0
votes0
answers123
views -
0
votes2
answers123
viewsupdate div with checkbox value marked
const inputs = [...document.querySelectorAll("input[class='serv']")]; const res = document.getElementById("resultado"); const total = res.querySelector('[name="total"]'); const nomes =…
-
0
votes1
answer119
viewsSlidetoggle - Open and Closed Configuration - jQuery
I will present the idea that I want to do on my website and then I will show you what I have already done and what is working correctly and soon after I will present the problem that I am not able…
-
0
votes1
answer983
viewsHTML & Javascript Countdown
So guys, I want to do a countdown that you report the time you entered the location, and it adds up for six hours and 20 minutes, and tells you the time you’re going out and takes that time and…
-
0
votes0
answers50
viewsProgress bar before function run
I have a certificate issuing page, and it takes some time to create the request and keys, as it is all done in the browser. I want to implement a progress bar so the user doesn’t get the impression…
-
0
votes2
answers354
viewsHow to print the result of a SELECT (php / sql) in a specific place in the HTML page?
Greetings, I have a database with a purchase order chart. In my html there is a panel where the number of registered purchase requests will be displayed. I managed to make the SELECT right and print…
-
0
votes0
answers65
viewsMake a table thead fixed and tbody have scroll - HTML and CSS
I have an item listing screen and everything on it is fixed, nn can have the scroll on the side, but inside this screen has a table and this table can have the scroll but the only thing q can scroll…
-
0
votes1
answer74
viewsHow to display hidden div after page reload?
Hello, everybody. I am developing a page where there is a hidden button that appears after a certain time. My code: HTML: <script…
-
0
votes1
answer47
viewsHyperlink error HTML code
Hey there, guys. I don’t know much about programming, I took a code and developed a little according to what I wanted, but the hyperlink of each entry does not work, I tried several ways to solve,…
-
0
votes1
answer105
viewspreventDefault does not work in Browsers for Mobile
In computer browsers I can prevent the default anchor action normally, but using in most mobile browsers does not work. I need that when clicking the link the browser does not direct to the link…
-
0
votes0
answers87
viewsForm for printing school card
I’m trying to develop a simple HTML for creating a school card and R.A., in which I enter the file, type in the student’s information and can print, either by the page itself or by a button. For now…
-
0
votes1
answer68
viewsRed item on screen prevent Submit - Javascript/Jquery
I have a view with 3 divs and 20 input number in every row of my div and a input submit. Every line comes from my bank. (For this example I will use only 3 inputs number). Those of mine divs are…
-
0
votes1
answer500
viewsChange the value of the checked attribute of an input type='radio'
I have two radio inputs <input id="tab-1" type="radio" value="juridica" name="tab" class="sign-in"><label for="tab-1"class="tab">Jurídico</label> <input id="tab-2" type="radio"…
-
0
votes1
answer673
viewsSend PHP message on the same HTML page
I am developing a registration page and I am validating it with PHP. I would like to notify the user on the same registration page when there is an error. Below is the form code (you have a…
-
0
votes2
answers1076
viewsHow to get value from a table column
I wanted to take the value of logged in user points and put on my page. This is the table "users" For example: "You have x points" Below page login.php <?php $login = $_POST['login']; $entrar =…
-
0
votes0
answers107
viewsHow to put the duration of a song in a css variable (html javascript css)
Hello, I want to create a bar that shows the duration and current time of audio playback, for this I need to take the time of these audios and put in a variable to be used in a CSS property but I…
-
0
votes1
answer89
viewsScript conflict in my html file
I am creating a web application where the main page is a Timeline, and this Timeline should update your content automatically. I’m using Jquery’s setTimeOut function to update Timeline every x…
-
0
votes1
answer101
viewsError calling DB table
I’m a beginner in Mysql and PHP, and I want to basically list the information I have on db on a page html. I made the code and is returning these errors: Warning: mysqli_select_db() expects…
-
0
votes2
answers109
viewsHow to set menu to direct the user to the exact point set in href="# "
How to set a menu so that clicking on any item directs the user to the exact starting point of Section related to the clicked item? The problem is that when clicked directs to the beginning of the…
-
0
votes1
answer74
viewsHow to insert anchors for my page?
I have a page called noticias.html with several news items divided into several articles, but only the links of that part written "CONTINUE READING..." that I would like to have the news opened with…
-
0
votes1
answer1156
viewsTake the value of the <tr> the user clicked on a dynamic table
Hello... I’ve had a problem for many days and I can’t fix it. The situation is as follows: I have a table that is created dynamically from the existing data in the database: When the user hovers…
-
0
votes3
answers1204
viewsHow to change the image of a button like Javascript?
I’m doing a classic old game in HTML, CSS and Javascript, however, I want to know which command I can use to change the image of a javascript button I know it has something to do with…
-
0
votes0
answers47
viewsUpdate options of a select that is built by the database without refreshing the page
My question is the following, I have a select that your options are built from the data in the database: <select id="cCoo" name="tCoo"> <option style="font-style: italic" id="dsb" disabled…
-
0
votes0
answers340
viewsPuzzle with DIV
In my games in HTML and Javascript, I tried to create a mini puzzle with the block and the fitting place where it will be placed. function parseNumber(num) { return parseFloat(num.replace(/[^\d]/))…
-
0
votes1
answer243
viewsPass value from a select to Html.Beginforms - Asp . Net
I have that element <select>: <select id="status" class="form-control form-control-sm" name="arquivo" > @{ foreach (string valor in ViewBag.ListaArquivos) { <option…
-
0
votes0
answers62
viewsLoop inside the submit button
I have the submit button that must submit the grade to a class of students. But when I click the button, it only submits the grade to the last student on the list. The student list and note list are…
-
0
votes1
answer29
viewsData Does Not Pass Before Submit
good afternoon. I’m new to the forum and new to programming and I’m stuck in an action. I am calling a modal window for the user to enter some information and when clicking save the information goes…
-
0
votes1
answer33
viewsProblems calling a Javascript function in an html buttom!
I created two functions in js for two buttons in HTML, one reads the name of the visitors of the site and the other shows the name of the visitors who already read, as follows below: var nomearray=…
-
0
votes1
answer88
viewsCss does not apply to div
I’m making a Theme for tumblr, and set a div called "info" to organize posting times and amount of notes in the post. But when I save the changes and visualize them, nothing changes. When opening…
-
0
votes1
answer43
viewsSending via POST differentiated mode
Hello, I am with the following problem, I am using the payment method of the pagseguro, so that I fill the data in a form and send to the page of the pagseguro, and there on the page I finish the…
-
0
votes1
answer42
viewswp_query returning the entire post. Returns only title
I have this code and when I put it on the Home Page it returns the entire post. I need you to return only the title, date and thumbmail of the post, is recovering all content of the post... function…