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
answers3366
viewsHow to fix error: String data, right truncated: 1406
Hello, follow my question: I am trying to save the Protocol Checklist data, but the following error is occurring: SQLSTATE[22001]: String data, right truncated: 1406 Data Too long for column 'item'…
-
-2
votes1
answer40
viewsput the CDN, how do I write the code?
I am a beginner in programming and I have this question, I put the CDN <script src="https://unpkg.com/rivescript@latest/dist/rivescript.min.js"></script> to install the rivescript, but…
-
-2
votes1
answer131
viewsPdoexception error
Hello, I’m having difficulties in hosting a php system, initially I developed with xampp (localhost), however, when host is not making the Mysql connection for what I understood.. Error: Exception…
-
-2
votes2
answers355
viewsLoad JS before rendering the page
Good afternoon, I have a code for php where it has a list of publications and it uses the Ajax, but unfortunately it is being the last to be downloaded by the page. After all the files you have…
-
-2
votes1
answer1321
viewsHow to get the user upload file path in Java
Hello, I am creating a web page with an iframe, and I would like to change the src of this iframe to the user upload path, I would like to know how I can do it, follow code: <input…
-
-2
votes1
answer115
viewsAnimation in Before overwriting text
I’m trying to make an animation on the ::before of a paragraph every time I pass the mouse But this CSS is overwriting everything written in the paragraph, even though it is Before instead of After.…
-
-2
votes4
answers525
viewsWrite inside a div with a function
I have a function that takes values from a document via parser: var soma = 0; $(document).ready(function () { $.get(file, function (data) { ivps = parseDataToIvp(data); let fIvps = ivps.filter(i…
-
-2
votes1
answer32
viewsHow do I execute a main() function without affecting the other of another script?
I have three files: Arquivo1.js function main() { . . . } Arquivo2.js function main() { . . . } System js function openApp(package) { var a = document.createElement("script"); a.src = "/" + package…
-
-2
votes1
answer24
viewsHow to Divide Colors?
I would like to introduce the colors of the flag of France in the above rectangle,?…
-
-2
votes1
answer28
viewserror correction
Can anyone help me solve these three mistakes? I’ve already had the solution search on the net but I am told to do so and I do not know why it is giving error.…
-
-2
votes2
answers61
viewsWhat is it missing?
<?php $teste = $_POST['Nome']; ?> <html> <head> <title>O</title> </head> <body> <form name="f_cad" method="POST"/> <input type="text"…
-
-2
votes1
answer35
viewsHow does POST differ from PUT when dealing with existing URIS?
Not only this site, but several others use the example of creating a user on a website: www.site.com.br/user/id_do_usuario To clarify that PUT would only update the old user with the entered data,…
-
-2
votes1
answer51
viewsOnly seconds on input
How do I make it possible to select seconds in the input? I don’t need the hours or the minutes, just time to seconds
-
-2
votes4
answers7619
viewsRemove Focus/Outline from input (CSS)
How to remove this input Focus/Outline? This is my HTML I’m using Reactjs, Bootstrap-React <div className="viewInstrument-table-heading"> <div className="table-heading1">…
-
-2
votes1
answer140
viewsDisable button in menu not to update page, with Javascript
People are wanting to add to the site, a way when a menu button is clicked, it is disabled, for example by clicking on Home, the link from the button directs to the Home page, then if you click…
-
-2
votes1
answer38
viewsbutton + link help and
to make a site for a work in the course, I need to create a login or registration whatever but when I put a button (button/header/input) I am using "required" and the pass button n asks to fill…
htmlasked 5 years, 7 months ago Gustavo Collins 3 -
-2
votes1
answer48
viewsHow to put the url of the current page in a javascript variable in blogger
I know in the blogger the excerpt <a expr:href='data:post.url'>TEXTO</a> means that the text will always have the link of the current page open, regardless of which page is. You can get…
-
-2
votes2
answers47
viewsHow to pick up a word that contains a specific character?
I have this string in a div: "Sofá 3 Lugares Tiffany em Veludo 2,12m Aquila" I want to take the text of the words that contain "," and return them. Ex.: 2.12m…
-
-2
votes1
answer77
viewsHow to add a specific year to the current year in Javascript?
I want to create a javascript function that adds the year 1993 + current ano_and that inserts the result into my <span class="title_25anos" id="calculo_ano"></span></h1> And this…
-
-2
votes1
answer1268
viewsStore an image within a javascript variable?
Fla galera.. someone knows if there is a way to store an image directly in a javascript variable ? example in the function below function saudacao(obj) { var data = new Date(); var hora =…
-
-2
votes1
answer168
viewsTransparent background
I am a layman in css, and I don’t know why it is not becoming transparent a certain area that I marked. I put in jsfiddle code When I put the red part as transparent it disappears. But any other…
-
-2
votes2
answers70
viewsCss or Javascript problem that only works in Firefox
Hello I’m doing a control where there are 2 tables to table To and B , then. This table B only appears if I click on boot B , and table A "vanishes". Between so much this happens right in Firefox ,…
-
-2
votes1
answer130
viewsHTML BACKGROUND IMAGE
Good morning my site is almost the way I would like it, I just have a problem with image. The image is that way cutting the keyboard and the shoulder and I’d like it to stay that way : Link download…
-
-2
votes2
answers59
viewsplaceholder with the same label name
How do I get the placeholder to pick the same name that’s on my label ? I’m doing it this way: <label for="sing_pass" class="label_pass"><span class="lang" key ="Text33">Code…
-
-2
votes1
answer107
viewsHow to point links to site root without using . htaccess
How do I point to the root directory without needing me to put index.php in the links and without using the .htaccess ? Example: <a href="index.php" class="nav-brand"><img src="logo.png"…
-
-2
votes1
answer1008
viewsVIEW DATE BY PHP SPELL
Guys, next.. I have a contract printing page where I need to convert the field date in full <?php echo $result->estado?> - <?php echo $result->data_contrato?> In the…
-
-2
votes2
answers183
viewsFooter at the end of the template after scroll
Hello I would like to organize the pages of a project so that the footer always appears after the page scrolls down. As you can see, the footer is appearing at the bottom of the template. I managed…
-
-2
votes1
answer302
viewsOnbeforeunload on Google Core, any hiccups?
I need to use onbeforeunload for my control of users on my system, IE is working perfectly, but in Chrome it does not work, I need that when closing Chrome it redirects to the page verifies.php that…
-
-2
votes2
answers564
viewsPop-up effect with HTML, CSS and Bootstrap
Hello! I’m developing a site with HTML5, CSS and Bootstrap. I want to apply a "Appearing" effect to the items on my page, the idea is that as the scroll bar descends the items will appear from…
-
-2
votes1
answer118
viewsHTML and CSS layout. How do I make it responsive?
I wanted to see a way to make the code below as if it were two columns, that if it were opened on a cell phone at 1° column and 2° were under each other. <!DOCTYPE html> <html>…
-
-2
votes1
answer293
viewsHow do I display the username logged in to my registered page?
Good afternoon, I would like to display the name of the logged-in user on my registration page, tried in several ways, however none of these ways was successful, I would like you to help me to solve…
-
-2
votes1
answer18
viewsHow it shows the value of a var within a java html span
Staff searched the forum nothing else worked would you like to know how it shows the value of a var within span? I’m trying to Var exemplo = 10; Document.getElementById(pontos).innerHTML = Exemplo;…
-
-2
votes1
answer30
viewsHandle date format with PHP
*I’ve looked at other topics, and I couldn’t figure it out. I have a form like text which receives dates, the user writes in the format dd/mm/yyyy, but when I debug the value returns in yyyy/mm/dd.…
-
-2
votes3
answers128
viewshow to paint an expired date with css
I have a table that shows the payoffs, how can I leave the red font or the red background if it’s expired? using css my table is mounted as follows <table id="myTable" class="uk-table sortable…
-
-2
votes1
answer324
viewsHow to open the browser certificate selection option?
I am working on a project using PHP/HTML/Javascript where will be signed with digital certificate of the clients, where they will receive a PDF document and can sign using a button. When this button…
-
-2
votes1
answer71
viewsHide page extension and skip bar at the end
I currently use the following code to hide the extension on the pages of the site: RewriteEngine On Options +FollowSymLinks RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d…
-
-2
votes1
answer35
viewsI made a calendar and the dates are wrong
I am a beginner and I am learning in Mallorca, I am a week breaking my head to solve this problem. Some calendar months are right others with more days others with less. Someone with more experience…
-
-2
votes1
answer86
viewsHow to skip line after comma of a variable stored in the Mysql database
In the view.php file, I need to display a field that is already stored in database, of the type sweep, but when displaying I want the text to be shown skipping lines when finding the comma character…
-
-2
votes1
answer40
viewsMake suggestions list float
I’m creating a project and I want to put a input to search users and tals... I’ve already half finished, but the list of suggestions is not "floating", as does the datalist, if someone can shed some…
-
-2
votes1
answer63
viewsJavascript PHP and HTML, onload usage
Come on, guys, I wonder if the onload logic is right in this case. I need this script to run when loading the page. What would be the best way to implement ? HTML and Javascript and PHP <div…
-
-2
votes1
answer125
viewsAdd onclick event in javascript button
I’m trying to make a page that, when clicked, creates a button that when pressed it calls the function back in the history: function goBack(){ window.history.back(); } function criarBotao(){ var…
-
-2
votes1
answer26
viewsPick element by css selector
I have a div where I want to take it by function document.querySelector but I can’t The div: <div class=" f:.9 m-b:.4 m-t:.5 d:i-b ">Conteúdo</div> I tried to make…
-
-2
votes1
answer162
viewsHow to style an option selector
Good afternoon, you guys, I’m looking for a way to style a select but I’m not getting it, and I’m also not getting material on the internet to do it, if you can help me thank you. And the next one I…
-
-2
votes1
answer45
viewsWhy is display: block; on the links? tag "a", to make the navigation bar?
ul li a{ display: block; } Why do you need to put the links with display block when making the menus?
-
-2
votes1
answer51
viewshow to make more than one file available for download with just one HTML button
I wonder if in HTML it is possible to download more than one file (photo in case) I am using the bootstrap button and I made the following code : <a class="btn btn-primary"…
-
-2
votes1
answer39
viewsHow to show the person’s name on the welcome screen?
<jsp:useBean id="calcula" class="br.com.projetojsp.bean.UsuarioBean" type="br.com.projetojsp.bean.UsuarioBean" scope="page" /> <%@ page language="java" contentType="text/html;…
-
-2
votes1
answer25
viewsopa I would like to strip the blue subliming of the links
.home ul { width: 100px; height: 30px; background-color:#d3d3d2; margin-top: -75px; margin-left: 1400px; color: white; font-size: 18px; font-family:Bahnschrift Condense; padding: 12px; text-align:…
-
-2
votes4
answers248
viewsProblems with Javascipt calculator
When I do an operation, the result is always the same: Nan. What my mistake? function show() { var oper = document.querySelector('input[name="oi"]:checked').value; return oper; } function…
-
-2
votes1
answer52
viewsHow do you make a slider menu in java?
As if it makes a menu in this style here, that by clicking it hides one content, and shows another? Some example of how to do more or less? Something like this side menu of this site for example…
-
-2
votes2
answers25
viewsHow to hide something with jquery and css
I need to hide some things using jquery along with css , I tried using Hide() but it didn’t work... some solution?? my code: $(document).ready(function(){ $('#ID_USER')hide();//não funcionou... });…