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
answer159
viewstmp_name of files inside a zip folder
I am doing with php code that in which I upload a zip file and it returns me the list of the names of the files that is inside the zip file. But I need it to be returned to the zip folder itself,…
-
0
votes1
answer86
viewsAdd image thumbnail and toggle switch to table
Hello, everyone. I follow my saga of editing a boostrap template, with a lot of learning but with a lot of head beat on the wall rs. I would like to know how to add an image thumbnail in this table…
-
0
votes2
answers53
viewsJSON does not return Mysql database data
I made a very simple application to search for projects by state in the database. However, JSON does not show any errors, but also does not return anything. I imagine the problem may be in GET. Do…
-
0
votes0
answers45
viewsHow to return a message "'No document type registered" when nothing returns from the database
I would like to know how I put in Thymeleaf for when I find nothing in the bank I return a personalized message on the web page "No document registered". Document Type Types of Documents Add <div…
-
0
votes0
answers28
viewsLimit Search Box fields
Good morning, I edited a code for a search box, but I want to hide the options that appear in it. In this case, I want it to appear only when the search is matched with the exact references. No…
-
0
votes0
answers31
viewsHow to perform 2 different submits in the same action?
I have a view with 2 different forms, when performing the first Submit I receive the data in the controller normally, when performing the second Submit the data comes all as nulls. How can I fix…
-
0
votes1
answer166
viewsBy selecting Checkbox disappear line
Save friends! I’m trying to create a website where it has several different functions and paths for a user to enjoy. However I see that in the future may end up having much more content than I wish…
-
0
votes1
answer115
viewsJavascript to display Divs randomly (With text or images)
I am developing a page and need to display some text and images randomly on a certain part of the page. I found it here on the forum (Display text at random) a code that almost does what I need.…
-
0
votes1
answer112
viewsHow to pass array values via AJAX, via POST?
Good people! I am creating a function to enter the data of a form in the BD (AJAX - POST): function inserir_registo() { //dados a enviar, vai buscar os valores dos campos que queremos enviar para a…
-
0
votes2
answers102
viewsAutocomplete form and check in JSON if it exists
I am trying to make a form that works as follows, the user must put his CPF and the full name will auto-complete, and the form can only be sent if everything is ok in JSON. Follows layout the model:…
-
0
votes2
answers127
viewsOrganize data from a Binding date into a table
I’m trying to get the data through a data-Binding and mount a table (from bootstrap) using a V-for, but it doesn’t happen as I expected. Table structure: <table class="table table-borderless">…
-
0
votes1
answer95
viewsDiv breaking line even with White-Space: Nowrap
Previously I wrote directly in TD the text and did not break line, but I needed it to be written in JS, but when inserting in JS happens to break line as in the image below: HTML <th…
-
0
votes1
answer63
viewsHow can I recover the value of a variable sent per myVar date and use in the checkbox?
index.blade.php <table> @foreach($masters as $master) <tr> <td>{{$master->receive_email_neworder_masters}}</td> <td> <button class="btn btn-info" data-my_table =…
-
0
votes1
answer65
viewsElement positioned with position Absolute is expanding upwards
I have a nav and within it I have a notifications icon. I made a *ngIf to show a card when the user clicks on the icon, I positioned this card with position Absolute, but within the card I have…
-
0
votes1
answer80
viewsKeep tab color after clicking on it
I created some tabs, when I move the mouse over each of them shows the color I sent but when I click to open the contents of the tab I would like to keep the color, showing which tab is open,…
-
0
votes1
answer500
viewsVariable value in the middle of an html LINK
The idea is to pass a phone number on the link to direct call on Whatsapp: <a href="https://api.whatsapp.com/send?phone=+55'NUMERO'&text=blablabla"> Buttons and the like are already made,…
-
0
votes0
answers95
viewsDropdown menu getting out of the screen in bootstrap mobile mode
I’m doing a project and my dropdown menu when it’s in mobile mode is out of the screen like this here in the image <nav class="navbar navbar-expand-md navbar-custom2 "> <button…
-
0
votes1
answer68
viewsLoad scss from js file
I am working on a static website, where I have the following directory structure: / /src exemplo.scss exemplo.js index.html webpack.config.js In my exemplo.js i give a require('exemplo.scss'), which…
-
0
votes1
answer101
viewsWhy is the custom cursor on my website not working?
* { margin: 0px; padding: 0px; } body { cursor: url("http://www.rw-designer.com/cursor-extern.php?id=51224"); background-image:…
-
0
votes2
answers347
viewsDynamic redirection with PHP Switch Case
I’m getting beaten up and I don’t know why, because this is the first time I’ve tried to do something like this, I have a menu like this: <div id="collapseUtilities" class="collapse"…
-
0
votes2
answers988
viewsHow to center an image in the header?
How do I center an image in a header? I have a 200x200 image I want to set the sides automatically and at the top of the header @charset "utf-8"; body { background-color: black; } div#interface {…
-
0
votes1
answer451
viewsError in foreach - Notice: Array to string Conversion in
I’m having difficulty generating a table using foreach, initially I’m trying to put so that appears the number of the field ID of the animal table in the table, but keeps appearing the error:…
-
0
votes1
answer41
viewsElements are not well responsive and functional in bootstrap
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS"…
-
0
votes1
answer62
viewsHow to pass checkbox data through FILTER_SANITIZE in PHP?
I’m not getting past the values of checkbox in PHP. I have a single file home.php with the following code: <?php session_start(); ob_start(); include_once("conexao.php"); $btnCadastrar =…
-
0
votes2
answers63
viewsHow to add new table row with contents from text box with post ajax
I have a table created using html and javascript, the contents of it I used ajax’s GET method to pull a url, in JSON. I’m trying now using POST in ajax to add content to this table, where I write in…
-
0
votes2
answers183
viewsChange button link according to radio
Guys it’s a stupid thing I know, but I’m racking my brain, I need help who can thank you. . I am making a simple form, I need to have a rating question, if the person choose the option a link…
-
0
votes1
answer237
viewsBurger menu closes when I click on a dropdown inside it
I have a menu that when opened on mobile turns the responsive burger menu. Inside it I need to have a dropdown link that will display another submenu. So far so good, the problem is that every time…
-
0
votes0
answers140
viewsHow to use HTML elements inside SVG in Angular?
I was using SVG in Angular when I needed to put HTML elements inside it. So I first tested it in w3schools. Image with the code and expected result below. Then I replicated in Angular("xhtml:"…
-
0
votes3
answers479
viewsQuestion how to link between css and html
I’m a beginner in this area, so I think it’s a stupid problem, but I’m not able to create a link between my html file and css, as taught in the following class (follow the video link…
-
0
votes1
answer311
viewsData Passing from an SQL Query to an HTML Table
I am developing a code and the section related to displaying the data that is in SQL for HTML Table are not working. In this case I created a function in my DAO with the SQL query and passed to a…
-
0
votes0
answers357
viewsSound alert in HTML
I’m populating a table’s information with comic book data. I wonder if there is any way to check line by line that this coming and emit a beep just for the new lines within the conditions that I…
-
0
votes1
answer47
viewsPlace Content Article Horizontal
Good morning, I would like an idea to create a css style that organizes my tag <Article> containing Img and Divs horizontal position in larger resolutions. Follow my full code and css. /**…
-
0
votes1
answer49
viewsCapture action from a form on a button
Good Afternoon I made a normal filter, but in order to be able to format the filter in a more effective way, I want to take the Div Button, but when I do this the button stops working because it is…
-
0
votes1
answer30
viewsParagraph disappears quickly after executing function
Hello, I would like help with my code, I’m starting in js. I would like to show an arithmetic progression, but when I run the function by clicking the button, the answer shown in the paragraph with…
-
0
votes1
answer6535
viewsHow to use line break in the PHP variable that will be stored in a database table?
My question is the following, I have a field in a MYSQL table that stores data and this data is displayed to the user. This data is entered by users, however, users can also add information in this…
-
0
votes1
answer422
viewsCreating HTML elements via Javascript/Jquery
Hi! I created an HTML form for a curriculum generator and in the field "professional experience" has only inputs to record an experience. HTML: <fieldset id="professional-info">…
-
0
votes1
answer97
viewsHow to send 2 GET with input
EXAMPLE: <form action="/" method="get"> <input class="form-control mr-md-4" type="search" placeholder="Digite aqui oque deseja..." aria-label="Search" name="s" id="search" value="<?php…
-
0
votes3
answers113
viewsBackground CSS/HTML
Isn’t there any way to stretch the brackground to occupy the entire web? The photo I’m using has the following resolution :1024 640. When I put it as background it gets a white bar on the right. Is…
-
0
votes1
answer373
viewsHow to dynamically assign the selected value of a select with ejs?
Is being sent from the server to this view an object with some information and among them are the values I want to assign to each inputs select, but I cannot assign. I am using ejs as my view…
-
0
votes0
answers98
viewsChange input value according to an option’s value
I am trying to develop a differentiated functionality for study purposes and so far failed to develop. What I need to do: I’m gonna have a field input of the kind hidden and needed it to earn the…
-
0
votes1
answer1043
viewsCalling Javascript in PHP
I’m starting in PHP and I’m a technician in VB.NET and MYSQL. The only language I don’t have is Javascript and PHP. I have a question where I need to call a notification in index.php. This is the…
-
0
votes1
answer66
viewsLoad checkbox explodes
I made a code with explode to carry checkbox of banco, however, it is only loading when it contains data in the exact order of variables, for example 'Theater 1, Theater 2' carries, but 'Theater 1,…
-
0
votes1
answer170
viewsData js in html(external script)
I have the following script that returns date and time: function RetornaDataHoraAtual(){ var dNow = new Date(); var localdate = dNow.getDate() + '/' + (dNow.getMonth()+1) + '/' + dNow.getFullYear()…
-
0
votes0
answers43
viewsVue-snotify, change position of async function
Has a plugin for Toast notifications called Vue-snotify Vue-Snotify It has a function that makes a request with Axios, and before completing the request shows a loading notification, and then one of…
-
0
votes1
answer36
viewsCreate new "panel" dynamically with php and mysql
I am developing a hotel system and I want to represent each apartment registered in the system with a panel containing information, that is, for each apartment the system generates a new panel that…
-
0
votes1
answer45
viewsMy Javascript function is not being "viewed"
I’m deploying Javascript functionality to close a submenu. To close with ESC and clicking on the menu item that opened the submenu is working. What I’m not able to make work is the function that…
-
0
votes0
answers75
viewsTransitions and page update
I’m learning css now through websites and courses. When I create an element and want to make Hover in it, I put Transition in the element. The question is: When I refresh my page (F5), the element…
-
0
votes0
answers189
viewsangular material 2 - autocomplete does not work
I’m having a problem, the Angular Material auto complete does not work in my code. Loading the page does not appear nor the options. html <div class="form-group col-md-6 form-md-line-input"…
-
0
votes1
answer1516
viewsHow to make dynamic chartjs chart with php
I’m making a graph, recovering via ajax, I’m transforming into json, then I convert into array, and I put it on the edge of Abels but the result has nothing to do with what I want My php code…
-
0
votes1
answer68
viewsI cannot keep fixed size in the cells of a table
Good, I’m making a table and filling it with values received from a database. The problem is that the size of the cells adapts to the value of their contents instead of keeping the value I set for…