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
votes1
answer122
viewsSynchronization of 2 html/css animations
I need to make my burger menu that has an animation totally made by html and css is synchronized, IE, when I press on it both animations will happen... The code I’m using is this HTML <nav>…
-
2
votes2
answers543
viewsHTML Drag and Drop on mobile (touchscreen screens)
I’m thinking of making a panel using the features of Drag and Drop of HTML. Example taken from w3schools function allowDrop(ev) { ev.preventDefault(); } function drag(ev) {…
-
2
votes1
answer117
viewsCut image pixels without distorting it
Good morning! I want to cut the sides of a photo without distorting it, it’s possible? For example, I have this image here: <img src="https://i.stack.imgur.com/4oeoT.jpg" name="Foto Teste"…
-
2
votes3
answers1116
viewsIncrease and Decrease Font, how to apply on a large site?
I have to apply the accessibility feature to increase and decrease font. I currently have 3 buttons: Small Font, Normal Font and Large Font. The idea is that when you click on each button, the…
-
2
votes1
answer207
viewsHow to add redirect links to elements of the Jwplayer playlist
Ola would like the help of you to be able to finalize the code of the Jwplayer that I am doing. As I’m still a beginner there are many things I don’t know how to do until the present time, so I hope…
-
2
votes1
answer421
viewsMultiply SELECT value with INPUT value
How I could multiply the value of a SELECT with an INPUT and display it in another INPUT? <!-- MULTIPLICAR ESSE SELECT --> <select name="papel"> <option value="">Tipo…
-
2
votes1
answer33
viewsI cannot click on the - jquery link
Hello, someone can help me posted the code also in codepen, can’t click the link and opened the PDF file, what happens is the slideup of div. Thanks for your attention! (function($) {…
-
2
votes1
answer70
viewsModal does not load Style when initialized automatically
I have a modal that is opened when the application is started, I made the check if it is the first time that the user logs into the system through a cookie. The problem is that when the modal is…
-
2
votes1
answer193
viewspictures show description when you hover your mouse in a separate div
I want to put an image next to each other and when you hover the mouse on top appears a description in a separate column of the site, in case there is no way it can be the same as long as to place…
-
2
votes1
answer515
viewsNavigation using arrow keys
I need to navigate the DOM through the arrow keys. I can accomplish it when it goes only in two directions (up or down, front or back), but to move in the four directions I did not find a way. I…
-
2
votes1
answer173
viewsHow to include JSON file inside a . JS
I already searched here on the forum, I got ready examples on other sites, but no one helped me. As it says in the title, I’m not managing to make this link from a file .json into the archive .js.…
-
2
votes1
answer220
viewsHow to assign two values in ng-click?
I have this html body that will invert the boolean variable d.expandedBlog when clicked. It is working normally. <div class="article-blog-icon-comment"> <i class="fa fa-commenting-o…
-
2
votes3
answers126
viewscreating note/observation field
I would like to know how these fields are created, I created an example, but I do not know if this is really how it is created. Follow an example of what I created: .nota { background-color: #CCC;…
-
2
votes1
answer46
viewsAutomatic br in mobile version
Hello, I have a question, I have a page that stays in a provider that when the user depletes the internet it is presented! But I wanted the images and buttons to buy new packages in the mobile…
-
2
votes2
answers110
viewsCreate navbar with centralized search field
are trying to make a Nav bar with a centralized search field.. I even managed to do more I believe I’m not in the best way, because when I open on a smartphone everything gets weird... Follow my…
-
2
votes1
answer482
viewsPlace two tables next to a div
I have this code where creates two tables and a div and the tables are below the div: <div class="container"> <div class="row"> <div class="col-lg-12 text-center"> <div…
-
2
votes1
answer3203
viewsHow to put an Icone/Lookup Button inside an input with Bootstrap?
<form class="form-inline my-2 my-lg-0 pl-3-lg"> <input class="form-control" type="search" placeholder="Pesquisar" aria-label="Search"> <button class="btn btn-dark ml-1"…
-
2
votes4
answers9348
viewsPut an IF in CSS
I have a CSS that shows and hides a div. But I want this to happen only if this field below is filled, that is, if it is different from empty. <input type="text" onkeypress="return…
-
2
votes1
answer43
viewsDiv’s overlapping in cell phone
I have a menu made with CSS that has a certain header spacing as can be seen below: However, when I open the phone, the same align in a way that end up being on top of the header: And without…
-
2
votes1
answer172
viewsNavbar does not change content
How to do to the navbar of Bootstrap 4.1 vary between the contents when clicked on them, I created the nav following the example of the site. To navbar open her items need to add action with js in…
-
2
votes3
answers185
viewsUse Jquery to swap text
Good morning! I don’t have access to the HTML of a site I’m editing, so to make additions, I only get it via css or js. Basically I need to change a text from "service", to "Transfer" and to try…
-
2
votes1
answer194
viewsHow to inherit a value from a given attribute in CSS?
Hello, everybody. How do I inherit a value from a given attribute in CSS? Example: <div class="flex" id="1" style="line-height: 100px; height: 100px; background-color: red;">1</div>…
-
2
votes1
answer306
views<fieldset> flex-wrap does not work properly in Chrome
I’m using the CSS property flex-wrap in some <div> so that I can show them or hide them without breaking the fluidity of the layout. However I noticed that when my container is a…
-
2
votes1
answer19
viewsInformation exceeds the display location
I have 2 rectangles on the screen that serve for data to be displayed inside them. But when you have a lot of information, the data exceeds its size. I want to make sure that the data does not…
-
2
votes2
answers1099
viewsReset page through reset button
I have a very simple problem, but as I am a beginner in javascript I am not able to do. with this code, and I need to create a function that restores the page without reloading it, who can help I…
-
2
votes2
answers15167
viewsElement superimposing the other CSS
My website consists of a header and below it a container-fluid with screen information. The problem is that mine header is superimposing part of mine container-fluid: HTML: <h3 class="card-header…
-
2
votes2
answers60
viewsproblem leaving a text on the left and 2 items on the right
.col-item { border: 1px solid #E1E1E1; border-radius: 5px; background: #000; } .col-item .photo img { margin: 0 auto; width: 100%; } .col-item .info { padding: 10px; border-radius: 0 0 5px 5px;…
-
2
votes2
answers51
viewsHow to show only the number of a Cpf
Well the question asks you to read a Cpf, and show it without the dots, I tried to do using a logic of C, but the javascript I think does not have it, what I have to change to have the result My…
htmlasked 6 years, 5 months ago rafael marques 939 -
2
votes4
answers1366
viewsCreating elements with jQuery
How to create elements with jQuery? I’ll try to explain... I have 2 screens, card registration and card display. For each registered card, I send it to the server and enter it in the internal…
-
2
votes2
answers203
viewsButton that scrolls the page up without reaching the top
I have a code that scrolls the page to the top, but I don’t want it to reach scrollTop = 0. It’s possible that by clicking the button, it just slightly climbs the page up, as if I had keyboard the…
-
2
votes0
answers32
viewsphp does not find image input sent by Ajax
made a javascript to send a picture of a form to php, the script does not return any error but when it arrives in php php can not find $_FILES[]. error: Exception has occurred. Notice: Undefined…
-
2
votes1
answer71
viewsPick up line data with checkbox marked
I have the code below and I want the array nome contains only the names of the lines that have the checkbox cb marked. <form action="" method="post"> <table> <tr>…
-
2
votes0
answers174
viewsHow to load the data from the selected item?
Context: How do I load data from a selected template? Do I need to use Javascript? In positive case the code must be in an external file or in the same code? When the template is selected the…
-
2
votes2
answers115
viewsProblem capturing the title of a URL using regular expression
I’m learning Go language in the competition part. I had the challenge of using the Generator standard to get a Channel that reads the title of a URL through a goroutine. Inside this goroutine that I…
-
2
votes2
answers433
viewsHow do I recover and calculate 2 numbers via POST in Controller in Laravel?
I am a beginner in the language and I am trying to learn by myself, I created a php .blade.file in order to fill two simple fields and return the calculation via Submit, after that I intend to list…
-
2
votes2
answers634
viewsHover the mouse over the image and change the color of the caption
Good morning dear friends, I wanted to know how to move the mouse over an image, and the background of the legend change color, in the example below I can only change the color when I pass…
-
2
votes1
answer44
viewsProblem with HTML Manipulation with PHP
People in the part of echo <p class="play">$row[/"email/"] </p> gives a syntax error Parse error: syntax error, Unexpected 'play' (T_STRING), expecting ',' or ';' in C: xampp htdocs a…
-
2
votes1
answer84
viewsI am not able to enter data in the database
I’m unable to enter data into the database, I was using the PDO, but now I’m using the MySql, because I was only able to list database data with the MySql, I am able to list the data but I am not…
-
2
votes1
answer138
viewsPrint json data list
I need to take the data of a json file and with this data generate a list corresponding to the category it belongs to for example if it is of the technology category need to generate a list of all…
-
2
votes1
answer478
viewsAlign radio Buttons to the right of a select
I have a line that is being lined up in the center as follows: .row{ display: flex; justify-content: center; } Inside this row has two columns, one with a select and the other with radio Buttons…
-
2
votes1
answer1526
viewsEffect of increasing and decreasing edge size
I found on a website an example of a field only increasing the edge, follows the GIF below: I would like to know if I can also increase, decrease the border size of an html element in the call of…
-
2
votes4
answers3746
viewsInsert html file via javascript
Look I would like to load the "head" part of my html into just one file and then called into html via java script. Today I have following: Header File where you would like to insert the header I…
-
2
votes1
answer573
viewsExport HTML table to Excel
I have this PHP page that lists all my records, I’m trying to export it to Excel, but all the records come out in just one column. <?php require_once $_SERVER['DOCUMENT_ROOT'] .…
-
2
votes2
answers1418
viewsHow to move html input
I wanted to move this login form to the center of the page but it won’t. I tried padding, text-ident, align, nothing does these input if you move, with the exception of the button nothing moves,…
-
2
votes0
answers144
viewsHow an authentication validation works with Angular + PHP
I am beginner in angular (version above 2) I am studying the communication of angular with PHP, in the httpClient part (of rxjs) to make the GET, POST, PUT and DELETE understood well. My question is…
-
2
votes2
answers265
viewsHow to center an icon along with an LI added via CSS within a UL
I would like to know how to centralize an icon implemented via background url() in the css along with my li, the problem is that when I add the icon, it pushes my li and how he appears glued to the…
-
2
votes3
answers6987
viewsFormat DD-MM-YYYY string jquery date
I have a field 'DATE' that receives information from DB in the format below: I would like to insert the following pattern: DD-MM-YYYY. Below is the javascript that inserts the data into the field:…
-
2
votes2
answers259
viewsCalculation of tenths of a second
I’m making a "Countdown" stopwatch that counts the time remaining to get to a certain date (in case 30 November). I pass this information on; days, hours, minutes and seconds. The thing is, I wanted…
-
2
votes1
answer1146
viewsHow to align 'N' Divs on the same line?
I got the following container where I would like to keep the divs on the same line: How can I do this alignment ? Follow example of the code below <html> <head> <meta…
-
2
votes1
answer1690
viewsModal to inform users that the registration was carried out successfully
Well I wanted that when the user was going to register in the system and if everything worked out a modal appeared saying that: User successfully registered with if there is already a matricula or…