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
-
1
votes1
answer234
viewsDoubt table header
I’m trying to get a tag th has two lines and the first line occupies the width the whole of the parent tag, and that the second row be divided into 4 columns. However I could not reach this result…
-
1
votes1
answer48
viewsWhy can’t I recover the background color with the gift
I’m trying to recover the color of my div but I can’t, I’d like to know why this is happening My code <!DOCTYPE html> <html> <head> <title></title> <meta…
-
1
votes1
answer38
viewsedge an object that doesn’t exist
Hello! I’d like to put an edge on my counter. The problem is that my counter is based on the case numbers of json, so the numbers in html do not exist. Is there any way to edge the div that has no…
-
1
votes1
answer131
viewsHow to convert a jQuery object to html?
Hello, I am trying to create a download button after the page content is deleted. I’m using jQuery to create the button, but I need the html to use as the "Document.write()" parameter. They can…
-
1
votes1
answer63
viewsHow to align an image within an Alert Bootstrap component
I need to align the image horizontally and vertically in the center of the Alert, but I’m not getting it. I tried to use a 100 padding (as an example) to demonstrate that the image moves... I would…
-
1
votes0
answers179
viewsRendering Dynamic Array - Angular
I am trying to render a dynamic array in my HTML, every click on ("+") it generates a new item in Formarray. The new fields are being generated in the correct way, but when adding a file its name is…
-
1
votes1
answer285
viewsScroll on Row bootstrap
Hello, I’m having problems that my Row is leaving the default area and creating a size out. And my HTML is like this: section class="quemsomos"> <div class="row"> <div…
-
1
votes1
answer43
viewsEmpty field on inputs overwriting field values in BD
I’m developing an academic system. The code below is for inserting the student’s notes, the problem is time to fill the 2nd, 3rd or 4th quarter, because every time you insert a new note, you must…
-
1
votes1
answer57
viewsCheck if a tag has a class using Typescript
I am creating to do a search in a Bootstrap table according to what the user selects in a select. For this I am putting a class with the value equal to the value of <option> of select. I’m…
-
1
votes0
answers30
viewsTable not overlapping values
I’m getting data from the firebase database and filling in a table dynamically. When new information arrives the table does not overwrite the data, it repeats the lines and puts the new data below…
-
1
votes1
answer47
viewsLinear-gradient with an image
I wanted to do this in the title of my box: Is a linear-gradient with the colors of the image and at the end the image. I tried the codes below but it didn’t work here. What’s wrong? script…
-
1
votes0
answers43
viewsHow to make the suggested <datalist> data appear only when typed?
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta…
-
1
votes1
answer451
viewsShow last record of each person in a Mysql table
I have a table "conversations" in the database where I have transmitter receiver message id another "users" table that is not very relevant, however, I want to show in an html table the messages…
-
1
votes0
answers28
viewsConvert UL list to radial
I’m trying to turn an image infographic into something editable in HTML/JS/CSS. I’d like to bring it as close to the image as possible. I need you to be flexible enough that you don’t need to pass…
-
1
votes1
answer206
viewsLoad page contents to href for modal
ola personal I started programming in js and jquery currently I am very beginner and I am with a small problem I am trying to show the content of an outside page in a modal but it shows only link of…
-
1
votes0
answers72
viewsHOW TO SAVE THE JS VARIABLE VALUE FROM ONE SCREEN TO ANOTHER?
following, help me here with a little problem, I am developing a web application of a site, a QUIZ, in it have screens where the user can register questions in the bank and others where these…
-
1
votes1
answer59
viewsUpdate field value in Mysql using PHP if condition
I have a table in Mysql named "Register" where it has the following fields: id - Type: Auto Increment - Primary Key dataCadastro - Type: Date statusFK - Values 1 (On) and 2 (Off) ---> In the case…
-
1
votes1
answer211
viewsHow to fix a content or a background to a div
I’d like to do with that div roll along with the page but its contents or the contents of a before that would be in the case of the image (if applicable), it would be fixed so that the content (or…
-
1
votes3
answers515
viewsButton type reset calls a function
I have a web form on which I put a input type="reset", to delete the form data in case the user needs it. The button works and is erasing the data as desired, but I’m having a problem. I have a…
-
1
votes0
answers35
viewsSweetalert does not cancel deletion
I created a deletion system with sweetalert, when clicking delete, it does not cancel the deletion. The language used is PHP without OO and PDO. Could you help me? Follow the code of the Alert and…
-
1
votes2
answers83
viewsAlign menu to center
I want to ask for help with something I’ve been trying to do for a long time. I can’t, I’ve seen several posts and no one really explains what’s wrong or what I should do. I’m trying to line up a…
-
1
votes2
answers415
viewsNo error message appears in php, but it does not work
I made a registration form and an Insert query with Pdo, but when entering the data and pressing the button to call the query nothing happens, no error messages appear, nor in the log, there is…
-
1
votes1
answer824
viewsBootstrap Datetimepicker Moment.js
I am trying to implement Bootstrap Datetimepicker in my project that is with version 4.3.1 of Bootstrap. The problem is I don’t know how to do it. I downloaded from this site:…
-
1
votes1
answer42
viewsHow to save a specific id (problem) in another section?
I’m trying to pass 1 unsolved problem to a section called "solved", ie someone sent from forms your problem you’re having, then in the admin I have all the problems that have already been created…
-
1
votes1
answer330
viewsHow to put scroll in Bootstrap Scroll?
I would like to put the smooth scroll effect by clicking on the "see more" of Collapse in the code below. I am using HTML, CSS, jQuery and Bootstrap. HTML: <!DOCTYPE html> <html…
-
1
votes1
answer811
viewsScrollbar only with buttons or div
Hello, I need to create two buttons that have the same function as a scroll, but without bar, I want to click and hold the button down the page, and when just a click, scroll down the page. The same…
-
1
votes1
answer55
viewsDifference of the same code with and without for()
I am mounting a jQuery code with dateTimePicker Bootstrap. I’m tried a problem which is this: when I do it in a more extensive way it works perfectly, but when I try to do it in a more simplified,…
-
1
votes1
answer383
viewsUsing the Mail API with AJAX
I’m practicing ajax using the post office API. I did it! But these 2 situations happen: 1- Gets stuck in the Else block, so if I put an invalid zip code after listing a valid one shows nothing, nor…
-
1
votes1
answer42
viewsNon-responsive input with Menubar is minimized
I have a search input with an icon in a sidebar that when minimizing the menu, the input icon "goes out" from the menu according to the images: Does anyone know how to fix it? I’ve tried with…
-
1
votes0
answers18
viewsProblem with Charset utf-8
I’m having problems in displaying my text appears wrong, but I put the <meta charset="utf-8"/> Without success, follow as it is. HTML STRUCTURE IS LIKE THIS <!DOCTYPE HTML PUBLIC…
-
1
votes2
answers73
viewsHow to make the button always right at the top inside the div?
function customAlert(customMessage) { var interface = window.document.createElement("div"); var button = window.document.createElement("button"); var paragraph = window.document.createElement("p");…
-
1
votes2
answers57
viewsWhy are div "social network" leaving the div when I use float
I would like to know why the div social networks leave the div "menu" whenever I use the float for images to go to the right side. html: <header id = "topo"> <div class = "menu"> <div…
-
1
votes1
answer361
viewsLine break in HTML tables
I’m making an HTML page which is an image print report of a service order. Basically, I set a table with two sub-tables that are: 1. header with data; 2. body with images of the service order. Need…
-
1
votes0
answers234
viewsNgfor showing only one result - Ionic
Personal I need some help from you. I am trying to show you the information of each ion-card on a Footer. The idea is as follows: On the homepage will have ion-card with summary information of the…
-
1
votes1
answer296
viewsHow to add a vertical line in Google Chart?
Problem: I’m not able to insert the vertical line in the google chart. Solution: I would like to add a line on the right side of the graph according to the image. HTML code: <script…
-
1
votes1
answer160
viewsHow to delete character by character from input when pressing the button?
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <input id="box" type="text"> <button…
-
1
votes1
answer15
viewsFordata picking up empty form
Good evening. I am trying to get the files via formData but an empty form is coming. Follows the codes: <form action="<?=base_url()?>clientes/addNewFile" id="form_addNewImage"…
-
1
votes2
answers98
viewsimages escaping from the column
I am having problems with a grid of images that in smaller resolutions stay on each other as layers and in larger resolution they stay with a very large space between them. The columns are generated…
-
1
votes0
answers98
viewsHow to use a parameter function in the onclick attribute of Javascript?
I’m starting to study JS and came across a problem. I’m following a tutorial to make an entire app lists, and when I tried to create a function to delete the whole I had a problem. The function in…
-
1
votes1
answer132
viewsForm inside form with input problems
I am with a project and I am developing a questionnaire. Each question has five alternatives and these questions are on the same page, within divs, and within it form. Follows the code: <form…
-
1
votes1
answer623
viewsonClick fill in input
I wanted to make a menu of options (Buttons) on my site, and when clicking on them is loaded a value to the input. I tried to make a script that when clicking the button, the field below was filled…
-
1
votes0
answers181
viewsCreating a repetitive Ionic table
Let’s get down to the problem: I need to create a table by Ionic that, as in the Instagram album, is divided into 3 images per line, this code was made by angular. Here’s my HTML code in Ionic:…
-
1
votes2
answers38
viewsQuery mysql bring last call without duplicate
Well, I have the following table: CREATE TABLE `chamado` ( `id` int(11) NOT NULL, `nomechamado` varchar(25) COLLATE utf8_unicode_ci NOT NULL, `tipochamado` varchar(25) COLLATE utf8_unicode_ci NOT…
-
1
votes1
answer191
viewsI am unable to insert submenus in the dropdown menu
Problem: I’m not being able to create a dropdown menu with submenus. Ex: When clicking the profile on the left will open a drop menu the idea would be when clicking the settings open new options.…
-
1
votes0
answers34
viewsHow to set the number of times to run Speedtest via PHP
Hello, I’m trying to run Speedtest on a server via PHP, I’ve installed the necessary on the server to be able to do this via Terminal on Linux, and I’ve also managed to run this test via Web access…
-
1
votes4
answers96
viewsDropdown with Javascript
I am working on a project and came across the following situation: a list of items for a side navigation bar needs buttons that close and open to click (until then beauty). However I need to…
-
1
votes2
answers2685
viewsHow to delete HTML elements using Javascript?
I am trying to make a bingo in HTML/Javascript and at the moment I need to delete a table (card) registered as soon as the user click on the delete button, as I am a beginner in Javascript I went to…
-
1
votes1
answer910
viewsJavascript to open a Bootstrap modal
I am trying to make a page of reports and I am breaking my head.. rs. The code below works, but there are more than 100 reports and creating one by one is complicated. What I would like: that you…
-
1
votes0
answers151
viewsHow to style the texts that iframe pulls?
I’m using this code to get results from the lotteries, specifically the Mega Sena, and I need to style the text that the iframe brings. The result that iframe pulls is like XML, I’m not sure, but I…
-
1
votes2
answers90
viewsHow to change an element after an action on the page?
I would like when content was added to the input the previous text "Label" turned blue. Are inside a div, a p and an input, the goal is when writing in the input the previous p turned blue.…