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
answer65
viewsinput value does not appear in POST
Hello, I have a kind of silly problem but it is as follows: when I give Ubmit, via post, all the values of the inputs of the form are correct but I realized that only the value of this input does…
-
-1
votes1
answer26
viewsHeader problem, padding-top is changing header height
*{ margin: 0; padding: 0;} .header{ background-color: #212343; width: 100%; height: 70px; text-align: center; word-spacing: 15px; font-size: 20px; padding-top: 15px; } .header > to{ color: white;…
-
-1
votes3
answers81
viewsHelp with code reduction in If/Else
I am trying to clean the body class without having to put this amount of code in if/Else function bgColor(event) { evento = event.target if (evento.classList.value == 'vermelho') {…
-
-1
votes2
answers33
viewshow to display keys in the browser?
Hello, I want to display a word but with "{}" example {word} follows part of the code in question function LogoCovid() { return ( <LogoStyle> Dev {palavra} </LogoStyle> Citation I have…
-
-1
votes1
answer40
viewsCrop elements with Javascript
I’m having trouble moving elements on the screen with pure javascript. I need to "crop" the element of a place -> And send this element to another place , and do this with all the html that this…
-
-1
votes1
answer273
viewsButton when clicked has effect on other
I made a button using ID’s and still when clicked it gives a margin-top=10px in both. What is my mistake? I want it to take effect only on the button that was clicked! button{ border: none;…
-
-1
votes1
answer321
viewsImage does not load into HTML
<html> <head> <title>equipe setembro</title> </head> <body> <b><p align=center><font face="verdana" size="7" color="#1C1C1C">Equipe…
-
-1
votes1
answer816
viewsCreate Countdown timer in javascript
Hello, I would like to create a time counter in this format: "Cart reserved by 10m 10s" I found this tutorial but in it has not this style https://albert-gonzalez.github.io/easytimer.js/…
htmlasked 4 years, 5 months ago Henrique Pires 63 -
-1
votes2
answers31
viewsHow to create a link spacing from the same cell of a table?
The cell in my table should display the redirect link to SELECT, UPDATE and DELETE in the same cell, but everything is together and I wanted to know how to create a space between the links. Expected…
-
-1
votes1
answer30
viewsI’m making a calculator and I can’t display the results
I’m basically turning a rundown of Excel formulas into a calculator that will appear on a Landing page. I did all the logic of the calculations, but I don’t know exactly what I had to do to connect…
-
-1
votes1
answer72
viewsPick up value typed using Javascript
Hello! I would like to take value typed on the 1st page and present it in a 2nd html page using Javascript. I just get the value to appear on the same page. <input type="text" id="cidade" />…
-
-1
votes1
answer25
viewsHow to use a custom tag within an IF tag?
Personal as I use a custom tag within an if tag? ex: {% if {%outraTag x y z %} == "Sucesso" %} my custom_field_tag @register.simple_tag def outraTag(x,y,z): r=x+y+z if r ==3: return "Sucesso" else:…
-
-1
votes1
answer48
viewsEmail php error , I can not at all
Renewing ask, I used Phpmailer in a php file , as I put it on my site(html), for people to send me msgs to gmail...
-
-1
votes1
answer26
viewsdisplay an image through the URL
I wonder if it is possible to display an image in an HTML code where only its link is stored in a PHP variable. I tried to do it the way I thought it was obvious but I didn’t succeed. <!DOCTYPE…
-
-1
votes1
answer23
views<Option> inside <Select> selected by default based on variable passed by URL
I want the course select to have the value(course) selected by default when the user accesses the page by the link. <html lang="pt-br"> <head> <meta charset="utf-8"> <meta…
-
-1
votes2
answers43
viewsI cannot access the index of a for inside addeventlistener
docReady(function () { var arr = ["usuario/cadastroum"]; var lis = document.querySelector(".metro").getElementsByTagName("li"); for (var i = 0; i < lis.length; i++) {…
-
-1
votes1
answer357
viewsOpen local file by link on html site
Hello, I am creating an intranet and would like to know if it is possible to create a function or something of the type that will open a file excel on the machine, that is click on the link and open…
-
-1
votes2
answers42
viewsI cannot run a script from an external page
Good evening I’ve been trying to create a javascript script that when the user clicks on a word within a menu on the site, a span appears with a text. I was able to do the script and it worked…
-
-1
votes2
answers46
viewsVscode problem adding space in code
Hello, everybody. When working with HTML every time a change is made to head Vscode automatically adds a space before closing all double quotes in the body. Staying as in this example: input…
-
-1
votes1
answer121
viewsHow to block translation into an HTML element/tag
<div id="title-div"> <h3 id="title">C<i class="fas fa-virus"></i>vid-19 in </h3><h3 id="in-country">loading...</h3> </div> I need the H3 tag…
-
-1
votes0
answers18
viewsSyntax to execute code[ERROR]
$mensagem = ' <div style="font-size:17px; color: #707070; font-weight:bold; font-family: 'Segoe UI Semibold','Segoe UI Bold','Segoe UI','Helvetica Neue Medium',Arial,sans-serif; " > Conta da…
-
-1
votes1
answer23
viewsHow to turn a link’s properties into a specific class or id?
How I can turn link properties into a class or id? a:link a:visited a:hover a:active I can transform them into a class and use them individually in some element?…
-
-1
votes1
answer38
viewsCannot use isset() in the output of a PHP expression
I want when my site is accessed with the reference? ref=app show a page, if it is not going to appear another. But just make that mistake: Fatal error: Cannot use isset() on the result of an…
-
-1
votes1
answer22
viewsHow do I leave an active <div> only for one screen size? For example: only in 750px does it become active (I’m a beginner)
<div id="750px"> <a href="https://www.instagram.com/p/CKBoR2ZDlwL/" target="_blank" rel="external"><img…
-
-1
votes2
answers121
viewsHow to reuse HTML code with pure Javascript?
I am creating a site with multiple pages and constantly modify my header, is it possible to create a single header and use it on all pages? (preferably with pure javascript)
-
-1
votes1
answer76
viewsPHP html table generator
the purpose of this table is simple, when I put the information in the textarea it should appear and when I do not fill the cells of this table also should not appear, well until then everything is…
-
-1
votes2
answers112
viewsIndentation in html paragraph
Does anyone know how to make a indentation in the first lines of each paragraph of a text typed through a textarea? Using php’s nl2br function I can even save and display line-breaking text, but I…
-
-1
votes1
answer33
viewsRight Button Print Html generates blank sheet - Asp.net MVC4
Guys, I have a problem where I have an html page. Right-clicking -> Print generates a blank sheet at the end. I have already reduced the html of the page to almost nothing but still generating…
-
-1
votes1
answer34
viewscircumference on top of an image
Hello! I am developing a carousel of images and would like to put in it circles on top of a specific place of the image. The problem is that my circumference does not appear. I tried to use the…
-
-1
votes1
answer59
viewsHow to hide the input title when filled in the form using CSS
<div class="content"> <span class="title" for="input_example">Título do campo</span> <div class="form-content"> <input type="text" id="input_example"…
-
-1
votes1
answer36
viewsSite only loads in Live Server extension
is going a bizarre stop with me, my site only identifies CSS and JS if it is loaded by the extension Live Server, if I try to open directly by index.html, the browser does not recognize: This is my…
-
-1
votes1
answer37
viewsPost a preset phrase on Twitter
const frase = 'Olá Mundo!' <a href="https://twitter.com/compose/tweet" target='_blank'> <button>Twitter</button> The link to the tag <a> redirects to the Twitter page already…
-
-1
votes1
answer51
viewsHow to remove the <tr> tag using Javascript
I need to include a button in my table that will remove a patient(TR), the button I include directly in HTML is removing, but the button that is added with the append does not work. <header>…
-
-1
votes1
answer38
viewsHow to make the image appear gradually when opening the site? CSS IMAGE TRANSITION
good afternoon! All right? I wish that when the person entered the site, the image appeared smoothly. I’m trying with opacity and visibility, but it’s not working. CSS code below: header { width:…
-
-1
votes1
answer26
viewsHow do I change the color of the bootstrap switch?
<div class="custom-control custom-switch"> <input type="checkbox" class="custom-control-input" id="teste"> <label class="custom-control-label" for="teste"> </div>…
-
-1
votes1
answer27
viewsAbout the HTML iframe
Hello guys? So it’s a simple question I want to know about iframe in html, I was wondering if iframe stores the sites in cache? Reason: my site is static and I want to use iframe to leave a little…
-
-1
votes2
answers275
viewsDisable bootstrap modal
I am trying to disable a bootstrap modal. I need it to start by default on the disabled page, not calling the bootstrap modal, then be activated by selecting an option. Well, I’ve tried some…
-
-1
votes0
answers16
viewsI’m doing a project and I can’t connect the API, inspecting the code I found that Document.getElementById is null but it’s not
In the HTML file I inserted the script of the JS file where my function is, so I can connect one file to another. <script src="./main.js"></script> In the cep input field the id="cep".…
-
-1
votes1
answer22
viewsHow do I make the text input remain selected after I click enter (enter adds the input text to a task list)
Entire list <main id="base_list"> <div id="title_list"><p id="title_text">ToDo list</p></div><!--TITLE LIST--> <form id="input_back" > <input…
-
-1
votes0
answers26
viewsHow to display elements in html according to the python flask database id?
This is my view in case you would like to know how to filter what will be shown in the next route for example in the group table has the id and in the table layer tbm according to your id in the…
-
-1
votes0
answers12
viewsI believe to be problem with live server
I finished a page, and everything was quiet, ok proportions. When I stayed, I saw that the sizes changed, apparently decreased. Then I started looking for the problem, and I saw that when I open the…
-
-1
votes1
answer78
viewsHow to create a Q&A site with html, css and js
I’m about to create a Q and A site someone has an idea how to start, I already have html, css and js domain
-
-1
votes0
answers20
viewsPlace an icon instead of an HTML string
I have the following code: <a (click)="verificarSeEscondeSaldo()"> {{ escondeSaldo ? 'Exibir' : 'Ocultar'}}</a> treecho correctly does what I wish, but instead of the text: 'display' or…
-
-1
votes0
answers12
viewsauthentication in codeignither 4
I try to make an authentication system but always gives a problem in the query it always passes as falso. $values = [ 'name'=>$name, 'email'=>$email, 'password'=>Hash::make($password) ];…
-
-1
votes0
answers29
viewsHELP! How can I SAVE emails from 4000 server profiles?
I need to save users' emails but I don’t have access to the database, because the idiot programmer put in a password and didn’t share it with the team. I only have 4000 links of users' profiles,…
htmlasked 3 years, 6 months ago Loud Gaming 1 -
-1
votes1
answer34
viewsIs it better to use 1 CSS file for the entire site or multiple CSS files for best practice?
I am developing an Ecommerce selling credits for games and in this Ecommerce has several pages and some being very different from others.. My question is whether it is better to use a Global CSS for…
-
-1
votes1
answer50
viewsIs there any connection between these two elements of the HTML code?
I’m pulling data from a website with Jsoup but I’m not very good at html. I would like to know if there is any relationship between ".Lin-area-C2" and ".Lin-course-C3". If there is, I’d like to know…
-
-1
votes2
answers4429
viewsGo back to PREVIOUS screen without losing "INFORMATION" from previous screen
I have Screen 01, I do a search and return the result on the screen itself. Each line of the returned result contains a button. The button sends me the SCREEN 02. On screen 02 I do a search and the…
-
-1
votes2
answers248
viewsHide and show using javascript
I’m trying to make sure that when I hover the mouse over an image, show one that I have in figcaption, and as soon as I leave with the mouse on top of figcaption, it hides figcaption and shows the…
-
-1
votes1
answer82
viewsAdd fields with Jquery
I am using a Jquery command to dynamically add and remove fields in a form. $(document).ready(function(){ var _espc_clone_index=0; $("#add_espc").click(function(){ _espc_clone_index++;…