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
-
0
votes1
answer62
viewsI run with different images on mobile and desk
Good morning, everyone, I’m developing a responsive site, in it I will use a standard bootstrap carousel, however, will be different images when the carousel is on mobile and desk. Does anyone have…
-
0
votes2
answers148
views(if/if) with check box
I have the following problem: I have a decision structure that checks the check box. However, when I select the two boxes, the code still executes the commands that checks if only one of the boxes…
-
0
votes1
answer88
viewsPreload with Cookie or Session
Hey, guys, what’s up? I am using a code Preload is working very well, but the problem is that every time you access the site loads the Preload it bothers a lot.. would like you to only press 1 time…
-
0
votes1
answer1898
viewsHow to disable <option> according to <option Selected>?
I have a list of users and each of them will have one or more functions (example: Leader, For Knowledge, Participant). If I choose the "Leader" option, the other options (from the same select)…
-
0
votes1
answer411
viewsShows and hides content in list form. with Div and Javascript
I am trying to edit this code that is almost finished, its function is to show and hide a certain content that is inside a div. But I can’t make it work. You can get access to it running here:…
-
0
votes2
answers686
viewsChange position image with transition when mouse over it?
I want an image that’s on float:right go to float:left, but with some kind of transition.
-
0
votes2
answers1515
viewsAlign menu with CSS
I have this menu that at the moment has two ID that may be more. <ul> <li><span class="ytVideo" data-videoID="6AmRg3p79pM">(Youtube 1)</span></li> <li><span…
-
0
votes2
answers213
viewsHow do select go back to the initial state after "deselect"?
How to make sure that when I unselect a specific select option, it goes back to "initial state"? Here’s a simulation of my problem: https://jsfiddle.net/andrealbson/o1xs3m8x/…
-
0
votes0
answers178
viewsphpmailer with gmail
Hello, I’m trying to send email with PHP Mailer... but is giving error... Parse error: syntax error, Unexpected end of file, expecting variable (T_VARIABLE) or '$' in C: Inetpub wwwroot Try…
-
0
votes1
answer64
viewsQuestions about javascript language
Good morning! Guys, I’m a beginner in javascript and I have some questions about the section below: var url; function newUser(){ $('#dlg').dialog('open').dialog('setTitle','Novo Cliente');…
-
0
votes1
answer176
viewsUse a Focus for several fields.
Good morning, I created a function to validate cnpj in my form and I need to use a Focus() for the cursor to be in the input when the user enters the wrong cnpj, but there are 3 distinct fields of…
-
0
votes3
answers568
viewsScroll bar in a SELECT in html
Talk to you guys, I have a SELECT in my HTML that when the results exceed the width limit, it breaks a line. I would like instead of breaking this line, to be added a scroll bar. Explanatory image:…
-
0
votes1
answer97
viewsMethodology BEM + Lost Grid
I would like to know what would be the best practice to use different grid sizes with the same block. Ex: I have a component Card, and on my Dashboard page I wish I had 4 Cards per line I also use…
-
0
votes1
answer1958
viewsHow to make the automatic animated scroll effect?
This site I found https://cliquestudios.com/ has a super cool effect that I would like to do a similar on my site: When you scroll down, item 01 changes to 02. Consequently, the content changes. I…
-
0
votes1
answer484
viewsRemove element within iframe
Hello I have an Iframe that has an image and would like to remove it, but it’s not working... <script> $( document).ready(function() {…
-
0
votes1
answer179
viewsForm does not appear
Well on the contact page the form that was supposed to appear there simply does not appear, no input appears, I have tried to change some things, take and put in other Ivs but still the problem…
-
0
votes1
answer793
viewsJS - display elements on the screen from an object
I need to assemble a questionnaire on the screen with questions and alternatives brought from a database, it is possible to mount the screen with label and radiobuttons without putting a foreach in…
-
0
votes1
answer1698
viewsCSS and Javascript files do not load when I use Amigavel URL
Hello, I’m trying to create URL Amigavel and even worked in some pages only in some is not working CSS, JS etc.. I’m using this in . htaccess: <IfModule mod_rewrite.c> RewriteEngine On…
-
0
votes0
answers53
viewsIframe and jquery problems
Well I have a small and big problem with iframe. <iframe src="index.php" frameborder="0" name="site" class="site"></iframe> <iframe src="toca/player.php?volume=100" name="player"…
-
0
votes0
answers47
viewsSQL search result in table on front-end
Guys, I’m developing a project for the college and wanted to put the result of the search made in mysql database in a table on the front end, however I’m having difficulties to do this, there is…
-
0
votes3
answers4104
viewsAuto height in iframe?
I have an iframe and I need its height to be automatic according to the content inside it. How can I do that? No jquery of preference.
-
0
votes1
answer1208
viewsHow to leave a selected option
How do I leave selected one option via jquery? I know it’s because of your attribute selected, but I have no idea how to do this. The following code to illustrate how I was doing: Session var sessao…
-
0
votes1
answer42
viewsWhen I resize the viewport, the image moves to the bottom of the page
The site has a center image and a small text. When I resize the page, it adjusts (responsiveness). When it reaches a certain point 350-400px approximately, the div with the image and the text…
-
0
votes2
answers360
viewsPage mode landscape does not fit
I put a photo of the background, being 100% tall. When I open the site by mobile (or Chrome/Firefox console) in landscape mode, the image background does not take up all the space. In desktop mode…
-
0
votes1
answer606
viewsHow to concatenate html tag in php?
$t ='<span style=\"color:#FF0000;\"> '; $t. "texto '</span>' "; echo $t; The code above does not work, nothing is printed. I believe the problem is the closure of tag span. How to solve?…
-
0
votes1
answer1633
viewsHow to make a circular progress bar for web?
Like the image attached below…
-
0
votes1
answer2227
viewsHow to create HTML table inside javascript
for (var i = 0; i < t.length; i++) { options = options.concat('<option value="' + t[i].CodLinha + '">'+'--Saida Rodov Velha:'+ t[i].saida_Rodov_velha +'--Saida Rodov Nova:'+…
-
0
votes0
answers15
viewsManagerengine xml problem
Hello, <operation name="GET_REQUESTS"> <result> <status>Failed</status> <message>POST_ONLY_URL</message> <error_code>4001</error_code> </result>…
-
0
votes1
answer69
viewsDisplay received image via socket in img tag
I am receiving images from a server and need to display the image on the html page. The images are received via socket, so I have only the content of the image. The img tag displays an image when…
-
0
votes1
answer391
views -
0
votes0
answers283
viewsHow to maintain a JS function after refresh?
I’m trying to implement this function: function aumentarFont() { document.getElementById("myP").style.fontSize = "medium"; } Executes the action: <a href="#" type="text"…
-
0
votes1
answer415
viewsHow to create arrow-shaped edges on the sides of a div
What I got is this: html, body { margin: 25px; } .arrow_box { position: relative; background: #88b7d5; border: 4px solid #c2e1f5; width: 200px; } .arrow_box:after, .arrow_box:before { bottom: 100%;…
-
0
votes0
answers1100
viewsZoom in on the image (open it larger when you click)
Wanted to zoom in on the image but have to open it bigger when clicking if you have how to do this? Code: <div class="row"> <div class="col-sm-6 col-md-4"> <div class="thumbnail">…
-
0
votes2
answers881
viewsChange div background on Hover
I can’t change the background of the div when I hover over, in case I want to change the background of the circle. <div class="col m3"> <div class="center promo"> <div…
-
0
votes1
answer366
viewsFill a Select Multiple and Update Table
I have a <select multiple> which is filled with information from a table exams, the user selects the exams he wants for a certain function and sends to register in the table exams, okay. My…
-
0
votes2
answers475
viewsInput alert if typed data is invalid
Suppose there is an input that receives a phone number. If the mask returns that it is invalid, how to insert a warning (html and css) in the input to tell the user that the data is invalid? I do…
-
0
votes0
answers62
viewsHide part of the link when hovering the mouse
Well I have an Adfly affiliate system "Easy Link" as shown in the print below.. the system they use should enter the affiliate link before the url I want to use the advertisement as shown below,…
-
0
votes2
answers1385
viewsOverlaid and responsive images
Good morning, Friends I am a beginner in CSS and I am using bootstrap and I would like to put two overlapping images, and they should be responsive and the imagem2 has to have absolute position in…
-
0
votes2
answers1377
viewsCustomize input range for progress bar?
Custom progress bar for a player video with input crease, someone can give me some tips, I appreciate. <input type="range" id="progress-bar" min="1" max="100" step="0.1" value="0"/>…
-
0
votes1
answer402
viewsI can’t link to css with relative path
I am using Valet and my link to the css file is not working. I have this in my file /exemplo/index.php <link rel="stylesheet" type="text/css" href="css/style.css"> The file is in…
-
0
votes0
answers164
viewsPlace an image.jpg as the maximized background
<head> <link rel="stylesheet" href="stilo.css"> </head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Gleriston</title> <body…
-
0
votes0
answers77
viewsPut fixed menu in Blogspot
I’m trying to put a fixed top on Blogspot, but without success. I don’t know exactly what happens, but javascript doesn’t work. Link to the complete code: https://jsfiddle.net/6ovjnhor/ Now I’ll…
-
0
votes1
answer163
viewsMy site does not load all scripts, it is heavy? how to solve?
Good afternoon My site does not load all scripts, it is heavy? how to solve? Image example that does not load: in the inspector Object of Chrome appears the following messages:…
-
0
votes1
answer57
viewsHow to show a block field a word according to certain parameters?
I need to display a name in a form field with buttons. If the user selects the number 1 in the previous field, in the next field in block mode (so that it is not modifiable by the user), he should…
-
0
votes1
answer95
viewsExport data from an array to a table on the same page using a javascript function?
I want the form data to be printed in the following table when I press the insert button. <tr> <th>Nome</th> <th>Data de Nascimento</th> <th>CPF</th>…
-
0
votes1
answer281
viewsI put the file extension as . phtml and only Chrome is displaying all the code. Why?
I put the file extension as .phtml and only in Google Chrome is displaying all the page code, but in other browsers is interpreting normally. The page is loaded inside a iframe. If I change the…
-
0
votes1
answer1414
viewsUpload does not reach PHP via AJAX with . serialize()
I’m implementing a posting system on my future website where it requires uploading images. But when making the request with AJAX the PHP script returns an error stating that the name "img-post" of…
-
0
votes1
answer948
viewsSave data from a query to an array and display via Jquery
I am making a game of questions and answers, I need to make a query on the bench and I will pick 4 columns (id, question, answer and challenge) and it will return me 10, 15 or 20 lines, depending on…
-
0
votes0
answers22
viewsNavbar - Link outside the Local Boostrap
I made a Jsfiddle to show my problem. The following happens: Navbar has an icon of a house, that when I click on it does not execute the link, but if you click a little more to the left the link…
-
0
votes2
answers46
viewsMenu error appear slowly
then person I am having problems with if I and with function Hide(), show() I am creating my portifolio and I want the menu to be fixed from scrolltop 70 and I want it to appear slowly then I did…