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
answer5425
viewsHow to open folder in windows via an HTML link?
Folders are opened through the browser. I would like you to open your own Windows folders. I’ve tried to do the following:…
-
1
votes1
answer68
viewsSite does not stay the same on two different smartphones
I’m making a website and it doesn’t get properly responsive on some mobile models. On an old cell phone (Galaxy and duos) the image I use doesn’t even appear, and the html page is very light. Can…
-
1
votes1
answer476
viewsCSS - When to click change another element
I wanted to know how to do so that when I click the H1 button change to the red color, only with css <!DOCTYPE html> <html> <head> <style type="text/css"> button:active + h1…
-
1
votes1
answer194
viewsEven by placing the <table> inside a <div> I cannot define margin
I put a table inside a file .html <!DOCTYPE html> <html> <link href="StyleMain.css" rel="stylesheet" type="text/css"/> <div id="tableDiv"> <table border="0"…
-
1
votes4
answers691
viewsHow to send form data to mysql?
I am trying to send the form data to mysql but give error Notice: Array to string Conversion in C: xampp htdocs Requested projects.php on line 16 The line 16 is this $sql="INSERT INTO…
-
1
votes1
answer637
viewsHow to change Modal content?
.carousel-item { height: 100vh; min-height: 300px; background: no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover;…
-
1
votes3
answers4012
viewsinput datetime-local value
Hello friends all right ? In my database I have the date time so:2018-06-22 12:00:00 in the final html is this way: <input type="datetime-local" class="form-control" id="data_contratado"…
-
1
votes1
answer234
viewsHow to make a multilingual website?
I have already had to research on the subject on this site and others, and this question seemed to me the most complete: How to make a multilingual site? , my question is: is it necessary to do with…
-
1
votes1
answer193
viewsSetting default values for variable with Pug Template Engine
I am starting to work with MEAN and use as template engine Pug. I know that the same was Jade before and that there were updates on how to work with the same. My problem is that, in Jade, and in…
-
1
votes1
answer185
viewsENTER key save table instead of spacing
I have the following table to let edit directly on the grid: Her codes: Mysql table CREATE TABLE IF NOT EXISTS `php_interview_questions` ( `id` int(8) NOT NULL, `question` text NOT NULL, `answer`…
-
1
votes1
answer1398
viewsPicking up an element of a class with Javascript
I want to take an HTML element that is with a class, but that same class is in other elements. <img class="imagens-noticias" src="imagens-noticias/noticia-1.png" alt="imagem"> <img…
-
1
votes2
answers300
viewsHow to Protect the Clickjacking Site
Hello, I scanned my site and found that it is vulnerable to clickjacking type attacks, I saw that a solution would implement the header-frame-options x HTTP, my doubt is how to implement it? Would…
-
1
votes3
answers3905
viewsUsable but invisible input
I need an Input, where I can pass a value to it via javascript but make it invisible. I have 3 fixed values that I will always pass one of them, SAC, Distributor or Consultant, but since I need to…
-
1
votes1
answer59
viewsCreate link to another page’s menu item
hello, I have the following page with a service menu in the middle of it as follows: http://www.clinvetimbituba.com.br/servicos.html ond and when I click on a service changes the content on the…
-
1
votes1
answer1091
viewsTake Range button value and run function in real time
I need that in javascript pure and in real time the same value is picked up and depending on it (if it is 1, 2, 3, 4, 5) only the corresponding div appears! var inputvar =…
-
1
votes1
answer96
viewsStatic page paging not working
The latest posts and the link paging are appearing, but when I click on link, the URL changes to /page/2/ but gets the same content from the first page. Does anyone know how I can solve? <?php…
-
1
votes1
answer51
viewsReturn to the JS slide
Good morning! I apologize for the title but I didn’t find any better... Well I have a page that shows the content in "slides", or at the beginning shows the slide 1, and by pressing the next arrow…
-
1
votes2
answers1310
viewsHow to display item that has been added to shopping cart with javascript?
Hello people a hangman here to modify a following script: when executing the code below I have a system where I click the + on the right side, that adds up the value below then everything working…
-
1
votes2
answers797
viewsAid balloon/information
I would like to know, basically, how do these balloons appear when we hover above the icon: It can appear at any position of the correct screen!? But how to align it with the icon?…
-
1
votes1
answer324
viewsTooltip does not disappear when the button is clicked
The tooltip usually appears when I hover over the button, but when I click and drag the mouse outside the button the tooltip gets stuck. <button type="button" class="btn btn-default fa…
-
1
votes2
answers49
viewsDoes not return the table
have the page php consumption. where I have the menu: <nav class="menu"> <ul class="menu-list"> <li><a href="#">Registos</a> <ul class="sub-menu"> <li><a…
-
1
votes1
answer74
viewsOther Type of checkbox
How could I make a checkbox that every click on it , is the same as a value entered , so I do not need to put in the input next to my checkbox the desired number . In case I haven’t been clear…
htmlasked 8 years, 3 months ago allan araujo 541 -
1
votes1
answer63
viewsHow to make a progress bar that goes from 0 to 70 and doesn’t come back from the beginning?
I need a bar that goes from 0 to 70% and that doesn’t go back to 0 after reaching 70, you can’t start the cycle again, you have to stop when you reach the maximum number.~ @keyframes site { from {…
-
1
votes1
answer779
viewsBootstrap HTML boot Collapse how to disable one when opening another
Hello, If anyone can check my html and css code please! I want that when clicking the zombie or multiplayer button when one is already open, the other is disabled. Like the Multiplayer Pod Boot is…
-
1
votes2
answers71
viewsHow to write to mongodb via API
I have this API(Controller) [Produces("application/json")] [Route("api/[controller]")] public class TypesFieldsController : Controller { private IAddTypeFieldService addTypeFieldService; public…
-
1
votes2
answers194
viewsCentralize navbar items when viewed on desktop
I’m using the codes below to create a navbar, but I would like, when viewed on desktop, the items highlighted in green to be centralized, but when viewed on mobile, remain exactly as in gif. Code…
-
1
votes1
answer139
viewsSend External Login Data to Controller
I need to login through Facebook, I have the login page, which renders a @Html.Partial _Loginexternal Follow the code of both: @using EuVotoAf.Models @model LoginViewModel @{ ViewBag.Title = "Log…
-
1
votes2
answers767
viewsAnchor link to direct to a div does not work
I’m using Angular 2+, I’m trying to add an anchor that when clicked will take me to the target div, but when I click the anchor, my site is reloaded and adds the #parallaxdiv link after the…
-
1
votes4
answers1088
viewsAdd Word Links to a Text
On an html page how to make the words of the text be converted into links? so that when clicking on a given word, open the google page with the word translation. For example, in this sentence: "The…
-
1
votes1
answer120
viewsRedeem values from a modal item to update it in the database
I have some items returned from the bank that is listed in a table. To add an item, I call a modal where I fill in the fields by saving them in the database. However, if filling in this field is…
-
1
votes2
answers947
viewsHow to expand an image with Hover without other elements moving
would like to expand an image when passing the mouse without the others moving. nav#foto ul li{ display:inline-block; margin-left:30px; margin-top:55px; text-align: center; box-shadow: 2px 2px 10px…
-
1
votes1
answer739
viewsHow to exchange content from a div using javascript?
I am trying to create a script to replace everything inside a div with something predefined, I am new in javascript and I am working to find a solution for this, I searched in several places, but I…
-
1
votes1
answer55
viewsHow to use a Robots.txt on Github pages
I have a repository on Github and it has a site that’s visible on github pages, only I want the search sites to just show you the homepage of the site. If it was a regular site I could add a…
-
1
votes1
answer99
views -
1
votes1
answer141
viewsHow to Develop Related Videos
I want to create a script that works like on websites of the genre: Dailymotion, Metacafe and so many other video repositories that do this. When the user opens a video he puts the video to run…
-
1
votes1
answer110
viewsWhy does the onclick function not work on a hyperlink?
I’m trying to create an icon that when there’s one click the information is saved in it, through a sessionStorage, and at the same time be redirected to another page where I will fill it through the…
-
1
votes1
answer104
viewsCenter svg inside a <rect> element
Good morning, I have the following code <?xml version="1.0" encoding="utf-8"?> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"…
-
1
votes2
answers644
viewsActive class in the include menu
On my pages PHP use a include to call a file that contains my menu: <?php include("menu.php"); ?> Menu file: <li class="current-menu-item"><a href="#">Hosting</a> <ul>…
-
1
votes1
answer903
viewsGet PHP DOM attribute value
I’m trying to make an application to take certain values from a page and insert them into a page of mine. I don’t know how to program, but I’m still taking a risk, because it’s to improve my…
-
1
votes1
answer343
viewsCalling route from a button is not working
I need, when I create an Operator, after creating, I should call another screen, the list of operators. It turns out that it is not working. The route is called Operator and how I put on that…
-
1
votes2
answers111
viewsWrite in search field date in dd/mm/YYYY format and search in the database in YYYY-mm-dd format
I want to type in the form the date in the format dd/mm/YYYY but search in the database in the format YYYY-mm-dd, please already tried everything, from a HELP Ai
-
1
votes0
answers54
viewsHow to change a meta tag in a SPA?
I have a SPA made with pure javascript, and I needed to change the meta Description after an event, for example, a click. Using javascript I can change, but I believe that for Google’s Crawler it…
-
1
votes1
answer150
viewsHow do I margin between an image and an HTML list?
I tried that, but the ordered list is still pasted to the image ol { margin-left: 5px; } figure { margin-left: auto; margin-right: 20px; }…
-
1
votes1
answer71
viewsUsing good practice or the right way to store an ID
Currently when I need to change some customer data, I store the ID in a input hidden, but this becomes visible if you element Inspecione giving freedom to someone who has more experience…
-
1
votes1
answer60
viewsProblem with Grid in css
Well I’m having problem with the grid in css. Whenever I finish a '' it creates a bigger space. Someone knows how to solve this and leave him uniform? Follows the code: .column { background: #eee;…
-
1
votes1
answer719
viewsHow to view PDF in pop-up when clicking link using html/css only?
On a given page of a website, I have an image with a link pointing to a PDF file. As it currently stands, when the user clicks on the image, the PDF file opens in another browser tab. But I need to…
-
1
votes0
answers28
viewsHow to Refresh the Page without losing what is in the $_POST['x']?
Hello I am using this method to update the page: header("Refresh: 0"); but wouldn’t want to miss what’s in the $_POST... How to proceed in this situation?
-
1
votes1
answer78
viewsUser with browser cookies disabled
I have a system and use cookies to temporarily store information, but I noticed a problem with a certain user and when trying to solve the problem, I noticed that the cookies disabled (do not ask me…
-
1
votes2
answers860
viewserror: Uncaught (in Promise): Error: Value must be an array in Multiple-Selection mode
Giving a compareWith, for the purpose of when I edit, the dropdowns can already be filled with the assigned values. By doing this, I catch this mistake: Uncaught (in Promise): Error: Value must be…
-
1
votes2
answers97
viewsDoubt about validation of POST
Hi guys, I’m quite beginner in php, my project was giving a: notice de Undefined index Then the guy showed me this code for the validation of the POST: $texto = isset($_POST['texto']) ?…