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
-
2
votes2
answers1023
viewsOpen local file from browser
Hello, What is the most correct way to open a local file (network-shared drive) through the browser? The file must be opened through a local application (desktop) previously installed on the PC.…
htmlasked 6 years, 9 months ago jsantos1991 2,397 -
2
votes1
answer72
views -
2
votes1
answer250
viewsError deploy Heroku app Django
After deploying to Heroku, I opened the link to my application (https://silima.herokuapp.com/), and it presented the following error: ProgrammingError at / relation "Produto" does not exist LINE 1:…
-
2
votes2
answers3109
viewsCenter text in header
Hello, everyone. I created a header with 100% screen size (independent of screen size) like this: header { background-image: url('img/background.jpg'); height: 100vh; width: 100%; } <header>…
-
2
votes1
answer529
viewsJquery - Trying to clear a select
I have two dropdowns (select in html) one of UF and one of cities, when selecting a state I want to trigger a function to fill the dropdown of cities, receiving the state id as parameter. It is…
-
2
votes1
answer247
viewsHow to take Input value and make an account
Hi, I’m new to programming, and I’m learning javascript. I decided to make a tool that calculated the AMA (slaughter, death, assistance) of a game that I play. The bill is to add the slaughters with…
-
2
votes5
answers889
viewsAutomatically delete inputs later
I have this code to send data by POST method, but then does not clean inputs:: <script type="text/javascript"> $(".btn_contact").click(function () { $.ajax({ type: "POST", url: "./inserir",…
-
2
votes1
answer814
viewsContent overwrites fixed menu when scrolling page
I’ve tried to put z-index: 2 in the <header></header>, but it didn’t work @charset "UTF-8"; body { display: flex; min-height: 100vh; width: 100%; margin: 0; padding: 0; align-items:…
-
2
votes1
answer66
viewsSmooth transition checkbox menu, without using "visibility:;" or "display:None;"
I have a small menu here, which has the use of overflow:Hidden; /max-height:; and height:; to make a smooth transition by clicking on the checkbox and displaying the subs-menus, however I am not…
-
2
votes1
answer35
viewsHow do I make that by clicking off a div it closes?
Good Night, well I’m doing some tests and I came across this problem, I’m a beginner in Js, and I managed to make the div appear by clicking on the "appear div" button, and I tried to make it…
-
2
votes1
answer121
viewsTable very slowly using Datatable
I’m bringing in 3,000 records from the MYSQL database using a connection to PDO and PHP. The time to be taken costs around 40 seconds to present all the data. Is Datatable unable to bring data by…
-
2
votes2
answers75
viewsSlides, transitioning images with JS and radio, while leaning the mouse over the image pause the transition, while removing continue the transition
onload = start; function start(){ var i = 1; function Move(){ i = (i%3)+1; // 4 is the Number of image in slider document.getElementById('t'+i).checked = true; } setInterval(Move,3000); //change img…
-
2
votes1
answer96
viewsTotalize column values of an HTML table with decimal result
I need to display the total result by summing the values that contain the value column: var linha=document.getElementsByClassName("calcular"); var…
-
2
votes2
answers276
viewsLine break control does not work "white-space: nowrap:"
I don’t know where I’m going wrong, but at 5° numerical sequence bar, you don’t want to line up linear, even if you give it a float:left; and a "nowrap" because I want to add a lower scroll bar to…
-
2
votes1
answer38
viewsI can’t make the log button
I’m not getting the record button the way I want it. I have my normal login button but when I click on the register it gives the same login fields. It also has a bit of Javascript. <!---- Botão…
-
2
votes1
answer117
viewsPass variable via GET without action
I plan to pass a variable to another page, I know I can use the method GET, meanwhile if here <form method="GET" action="comentario.php"> is comentario.php it does not execute the commands to…
-
2
votes1
answer31
viewsScreen fit is not doing its function "@media screen and() { }"
The screen fit is not responding to the defined attributes, it seems to be right, but the width and height of the object when the browser screen is reduced in (max-width:400px) it has no effect,…
-
2
votes4
answers209
views -
2
votes1
answer169
viewsQuestions with anchor link
I created a script as follows: <script> $(function() { $('#mostrar_planos').bind('click',function(event){ var $anchor = $(this); $('html, body').stop().animate({scrollTop:…
-
2
votes1
answer63
viewsEdit an image through a content:url ( )' attribute of the ::after tag
I added an image url to a content:url(); however, I intend to edit the size of this image, straight from the tag. sub::after, after adding a 'width:;' the image continues to the same size, as I do…
-
2
votes1
answer34
viewsTabulation with jquery
How do I tabulate a sentence and put one under the other ? Let me explain to you: I’m using this code to add inside a div: <script type="text/javascript"> $(document).ready(function() {…
-
2
votes2
answers225
viewsCenter text according to length
I’m having difficulty putting together a logic, where will write the user name on a certificate. In order to always leave centered according to the length of the name, I have to keep adjusting to…
-
2
votes2
answers2691
viewsUsing two Onsubmit in Javascript and If Function within an Alert
I’m training JavaScript with HTML and CSS and I’m creating a simple web page where I’ll do the BMI calculation. My user besides informing his weight and height,should inform his data:name,e-mail,..…
-
2
votes1
answer307
viewsHow to make my menu work on all pages
In my system, I have a menu, which works perfectly, but I’m trying to include a dropdown, with more links, the dropdown works only when I’m on the menu page, when I’m on other pages, the dropdown…
-
2
votes1
answer1899
viewsEnable/Disable a button if at least one checkbox is checked
I am trying to enable a button if at least one of the six checkbox is enabled, and disable any checkbox is enabled. I made a function, but it only enables and does not disable if I uncheck all…
-
2
votes1
answer777
viewsPass value to another angular page
Good morning!! On a given page I have a button that takes code and name of a customer and I need to pass this information to an input of another page: Page of the function that takes code and name…
-
2
votes2
answers77
viewsFloat:; not working CSS
I intend to align these blocks in a horizontal line, but the use of the float:; is not meeting the expected, what mistake I am making? .fl > div{ float:left; } div:nth-child(1){…
-
2
votes1
answer72
viewsMedia queries not applying the css according to device width
I’m trying to create a responsive layout. Some elements he’s applying css as quoted in media queries, some others are picking up web css. How can I fix it to get the corresponding css of what I…
-
2
votes1
answer456
viewsDuplicate inputs with bootstrap
I’m creating a form with tabs and I have to duplicate a set of inputs to another line and wanted help to do this. I’m using bootstrap and there’s the code snippet to be duplicated. <form…
-
2
votes1
answer231
viewsAvoid double clicking and redirect to another page
Good afternoon! I made a function to prevent the user from pressing the same button twice, this part works perfectly. global.js $('.form-disable').on('submit', function(){ var self = $(this), button…
-
2
votes1
answer110
viewsJS of a document working within iframe html
Good afternoon, you guys! I have my site for example, which has the normal page that every page has, html, head, body, etc... Inside this my page, has an iframe, this iframe pulls another html from…
-
2
votes1
answer64
viewsDivs has width at 33%, why don’t they line up?
Very specific question! Follow the code line. .container {width: 80%;margin: 0 auto;} #servicos {width: 100%} #servicos .services {width: 33%;padding: 20px;display: inline-block;} #servicos…
-
2
votes3
answers3985
viewsCentralize div de class="Row" with bootstrap
Does anyone have any idea how to center these buttons that are inside a div with class="row", how is centered the above container saying "Permissions", with Bootstrap and so that they are…
-
2
votes2
answers683
viewsRemove table line html with typescript
Good morning!! I own a table html and need to delete a line from it with a function typescript(angular 2, preference)... Follows the Table Code: <div class="col-md-12"> <div…
-
2
votes1
answer1286
viewsDjango: how to use Forms.Validationerror and display messages in the template
I would like to inform a message to the user (in the html template) when identifying an existing email on the registration page. In Forms.py I use the function clean_email to check if there is an…
-
2
votes2
answers23806
viewsHow to insert image using React.js
I’m starting in React, and how do I insert an image that sits on top of my background, which is already an image? The code is as follows: import React from 'react' import Img from 'react-image'…
-
2
votes1
answer322
viewsRemove html tag but keep <br> Javascript
I’m having doubts about how to remove html tags, but keep only <br> This code removes the tags, but I would like to keep the <br> and maybe other tags. function removeHtmlTag(strx,chop){…
-
2
votes2
answers97
viewsHTML escape inside <code> element - No jQuery
Good evening. I’m developing a chat and I’m racking my brain here. I capture the text, treat it, check what is img or link and just put inside the tags <img> and <a>, respectively. If it…
-
2
votes1
answer364
viewsTable mat-table does not render in browser with Angular 6
In the browser debug caught this error(screenshot): This is my page html (test) <div> <label>Nome: <input [(ngModel)]="operator.Name" placeholder="Nome"> </label>…
-
2
votes1
answer1093
viewsDecrease tables to fit on a page
I have a page that features four tables and a button so the user can print them. The problem is that these tables have a lot of columns and when I try to print, they are cut. I wish I could decrease…
-
2
votes2
answers757
viewsResponsive Font-Awesome icon - How to replace icons when clicked?
So I’m trying to make those responsive headers that, when clicked, organize the column and change the "arrow" up or down. Currently I already have my Sorts working, but still missing this…
-
2
votes2
answers362
viewsProblem with bootstrap responsiveness
I’m having trouble aligning the responsiveness of my dashboard. Here’s an image of how it looks on large screens. But if I lower the screen a little bit it shuffles like this: Below the code snippet…
-
2
votes1
answer955
viewsNavigation menu items overwriting content
I’m working on building a site using php and html and to make it easier to navigate, I’ve separated the menu from the index into another file and I’m calling it with include_once inside the body of…
-
2
votes0
answers96
viewsImage does not appear in the table
Use Angular 6 and bootstrap. I have a table and did this to display an image: ........ <tbody> <tr *ngFor="let operator of dataSource"> <td>{{ operator.operatorId }}</td>…
-
2
votes0
answers21
viewsJavascript - Get Google Docs Filepath
Good afternoon, everyone! Maybe someone has worked with Google Docs (g-suite) and can give an idea with this problem. The company will migrate from office to g-suite, so all documents and…
-
2
votes2
answers278
viewsHow to fix menu with fadein effect?
I have the following code that fixes the menu using bootstrap: $(window).scroll(function(){ scroll = $(window).scrollTop(); if(scroll > 500) { $('.navbar').addClass('sticky-top') } else {…
-
2
votes2
answers66
viewsCSS/HTML Writing around an image
Good morning, I have a "square" image, but in the format of Paul, I need to write on the edges of it: Imagery: I need to write in Pentagono format too, as in the example: Another requirement is…
-
2
votes1
answer67
viewsJavascript function breaking the image
Hello; I am having a project of the Coach, and in it has a list of games, I want to make that when you pass the mouse over the image increase, with that I have the following: foreach ($lista as…
-
2
votes1
answer4397
viewsForm validation with angular 6
I have this form, very simple, with just a field and a button. I gave a required input, and when I write with the empty and/or null field, it does not write(correct), but already switches to the…
-
2
votes2
answers46
viewsHow to break lines between links without them occupying the entire width of the parent element?
I’ve been looking at these two topics that deal with line breaking between tags: Break lines in CSS without using extra elements How to break line between CSS tags Both would solve my problem if it…