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
answer247
viewsHide image from a button
I have an ngfor of buttons with certain images, but I want that image to appear initially with the black color and only when clicking on the image appears the image. What would my class look like in…
-
1
votes2
answers106
viewsHow to be less repetitive in my Javascript codes?
This my code looks big and clumsy, is there any way to make it smaller? Something like "easier to write", or smaller? Here’s my example, as you can see, I need to repeat this block 5 times, to…
-
1
votes2
answers2635
viewsFixed menu after scrolling
I want to get the menu fixed after certain scrolling, <script> $("document").ready(function($){ var nav = $('.menu-topo'); $(window).scroll(function () { if ($(this).scrollTop() > 150) {…
-
1
votes1
answer1002
viewsHow to center Google reCaptcha?
I have a reCaptcha in my form, but I’m not able to center it or leave it in the same size as the fields. <div class="container-fluid"> <div class="row"> <div class="col-sm-10…
-
1
votes2
answers560
viewsdatepicker does not work in dynamic form with Js
Guys, I built a dynamic form using JS. Inside this form I have several input with the class data, where I call datepicker. But they don’t work, someone can help me with this? Follow the example…
-
1
votes1
answer294
viewsPage content duplication (HTML/PHP)
I have a duplication problem on my page. The content that should be organized inside the main index is duplicated in the header on the page as in the image below. - My index.php <?php require…
-
1
votes0
answers162
viewsSelect2 does not work after cloning the entire Section
After cloning an entire Section, select with Select2 no longer works. I tried to use Destroy to use Select2 in JS but it doesn’t work. Can anyone help me? It would be of great value. Thank you. The…
-
1
votes2
answers2310
viewsHow do I get back to the form page when sending a message?
After sending the message Alert appears, but the browser does not return pro contact.html (form). Then I wonder if I can create a style for this alert too. send php. // ENVIO DO EMAIL $enviado =…
-
1
votes1
answer196
viewsSlide toggle with multiple Ivs, each div makes its own slide
Guys, I have a problem creating a slide for each div. I’m making a code that will create x equal Ivs, but with different contents and need each one to have a button to perform a slide up with your…
-
1
votes1
answer1294
viewsIs it possible to collect html source code using python?
I would like something in python, some library that could access the site and get its source code (HTML). Example: Talsite.com <h1>hello</h1> Is it possible for python to log into…
-
1
votes3
answers533
viewsUpdate button using jQuery
I want to update two fields in the database but without having to update the page but I’m having trouble implementing something like this. That when I click the button UPDATE the fields Phone and…
-
1
votes1
answer192
viewsIn a dependent SELECT, with data of cities of a table how to leave a city in evidence?
In a database, I have the States table and the Cities table. On the website, when I choose a state, the list of cities is populated according to it. In my code, it is to appear alphabetically, but I…
-
1
votes0
answers34
viewsIs it only possible to send form data to server email?
I am beginner in php, learning at home alone. I was watching a video of how send form data to an email, like those "talk to us" fields you have on some websites. And I saw that in several videos,…
-
1
votes1
answer275
viewsDisplay preview link
Good evening, how do I create a preview link like facebook? I have no idea how to do that. If anyone can shed some light on where I start, I’d really appreciate it.…
-
1
votes1
answer1134
viewsHTML Conflicts in two javascript files
I’m having trouble calling two files .js in my html page, because the two do not work together, only separately, I believe it is a conflict problem, what add an effect of Alert custom on my site,…
-
1
votes2
answers156
viewsSave after hiding a div
I use a Jquery code to hide a div, and I would like when clicking close it to save and prevent it from being displayed again to the user when the page is reloaded. $(document).ready(function() {…
-
1
votes1
answer844
views -
1
votes1
answer245
viewsSend variable via Jquery function
I’m learning Jquery and getting my ass kicked. I created a function in the js file like this: $(function abrir_qd1(variavel){ $(this).click(function(){ $("#quadro1").load('arquivo.php?v=' +…
-
1
votes1
answer1072
viewsResponsive menu with dropdown submenu
I am working on a template menu and need to adjust the submenu view. I cannot make the submenu overlap with the original menu. When I hover the mouse through the submenu link, it is displayed,…
-
1
votes2
answers57
views -
1
votes0
answers26
viewsng-click and ng-dblclick in the same element
<div ng-click = "clickOne()" ng-dblclick = "clickTwo()">Enter</div> Javascript> $scope.clickOnce = function () { alert("CLick One"); } $scope.clicktwice= function () { alert("CLick…
-
1
votes1
answer69
viewsTake html from a tag, including the tag itself
How would I get a piece of my html along with the tags? For example: I wanted to get this span inside the TD, in case I wanted it all together, up to the tag <span>, drew?…
-
1
votes0
answers49
viewsRun HTML from the internal PHP server 7.1.11
I wonder if it is possible (and if so, how) to run HTML files from the built-in PHP server (version 7.1.11). I’m following Caelum HTML, CSS and PHP. In the course, after building the HTML pages,…
-
1
votes1
answer82
viewsChange form when typed
I have a page, where I search by name, Cpf or contract and I’m having difficulty changing the size of the form when typing. I think, when I start typing the characters, already know that it is by…
htmlasked 8 years, 9 months ago Marcelo Goulart 11 -
1
votes2
answers314
viewsgenerating an array of [month/year] p/ send to an ajax
I’m not sure if I specified the title correctly, but, come on, I have a url that returns a json with a bank value, the value comes this way: "01/2010" until "12/2016". I created a loop that brings…
-
1
votes1
answer336
viewsCentralized HTML/CSS menu
I need a help with a code I don’t know much about HTML and CSS, I’m learning little by little, and I need a little help. Inicio Código HTML/CSS <?xml version="1.0" encoding="iso-8859-1"?>…
-
1
votes1
answer59
viewsShare information between php pages
I am developing a WEB content and I came across a stumbling block. I have an Item Listing page (Using Jqdatatable). It turns out that in this listing there are two links, one for editing the item…
-
1
votes1
answer67
viewsHow to generate temporary image for development environment?
Some time ago I found a post that showed how to generate temporary images, an image with gray background and a background marking containing the dimensions of the same. This image is generated…
-
1
votes1
answer809
viewsHow to map an html page in Spring MVC
I have a Spring MVC project that will provide the Rest service to the front-end. But when creating a page . html the project does not recognize it and always from 404. Is there any configuration I…
-
1
votes1
answer55
viewsMove links to list menu when mediascreen size is changed
I’m having a hard time putting some links inside another link. For example: #menu_header_right{ float:right; } .dropdown{ width:80px; position: relative; display: inline-block;} .dropdown-content {…
-
1
votes1
answer360
viewsFull-Width Image Grid/Container with Semantic-UI
I know the question is kind of abstract, but how to do this: With the Semantic-UI? That is, a set of Thumbs without margin or edge, occupying 100% of the width and responsive mode? Fez here, but it…
-
1
votes2
answers162
viewsAdd original width/height to image tags
Is there any way to pass CSS code to HTML tag? Example, I have the tag below: <img src="../img/cS-1.jpg" alt="Smiley face"> any css code I put for this image to appear inside the img tag when…
-
1
votes3
answers6042
viewsHow to limit the size of Body to be centered on the Css screen
body{ font-family: gotham, arial, helvetica, sans-serif; font-size: 18px; margin: 0; padding: 0; margin: 0 auto; }
-
1
votes0
answers64
viewsModify <Li> tag symbol in PDF generated through iText
Kind of confusing title, but the problem is somewhat simple. I am generating a PDF through iText and I am using HTML for being simpler. I am performing the example below the only problem is that I…
-
1
votes1
answer81
viewsCapture Image Attributes with Javascript or Jquery via Url
I have an image that will be rendered in a Div, but I need to capture her Height because I need to treat it before putting it in the div (size). I don’t have the image on the screen, so I can’t do a…
-
1
votes1
answer3966
viewsAdding values in Javascript
In the following code, by clicking on the input name "goalkeeper" it changes another input with the desired value. The problem is that I would like to put another field that automatically calculates…
-
1
votes1
answer973
viewsInsert html code into markdown file
It is possible to use HTML to supply what markdown does not support in its syntax? For example, insert a video tag: <div class="video"> <iframe width="854" height="480"…
-
1
votes1
answer1136
viewsHow to adjust the entire screen according to the resolution of the monitor?
How to adjust the entire screen according to the resolution of the monitor? See the image below: My Dashboard is getting like in the picture B how could I make to look like a To. I’m using php +…
-
1
votes2
answers1980
viewsHow to put frame on an image?
I’m trying to put a different frame on the image but it’s not working, follow how I’m doing, I want the image inside the frame with a Hidden the html <div class="depoimentos__moldura"> <img…
-
1
votes1
answer485
viewsSticky-top Bootstrap Does Not Work
Can you tell me if I need to change anything in my CSS or JS to run Bootstrap Sticky-top? I am using version 4.5 of Bootstrap and CSS formatting just put a Height manually in the menu, the rest is…
-
1
votes1
answer89
viewsCreate progress bar with jQuery’s Hover()
I need to create a progress bar while my cursor is on top of an image. If the cursor leaves, then I need the progress to be reset to repeat the process if the cursor goes back over the image. When I…
-
1
votes3
answers237
viewsHow to send Jquery variable content to an html textarea?
I’m having a hard time sending the contents of a variable JS for a <textarea> (in a bootstrap modal) and with XML formatting defined in the variable. Both the JS as to textarea are in the same…
-
1
votes2
answers433
viewsCss Hover Transition
Friends, I have the following code https://codepen.io/narrador/pen/vWbrPr In the current effect when I move the mouse the Hover effect changes the background and increases the proportions of the div…
-
1
votes1
answer65
views"Automatic" footer
I’m making a website to index links. There are times when the result occupies less than half the page, and times it takes up a huge scroll. I need a footer that in little content is stuck at the…
-
1
votes3
answers59
viewsRedirecting users through a form
I need to create a page html simple, with only one form field type="number". When the user clicks it is redirected to a url www.exemplo.com/o_que_ele_digitou_no_formulario Purpose of this page: We…
-
1
votes1
answer492
viewsajax post with dynamic input
I have a form with a input that is created dynamically, follows below: <tr class="linhas"> <td align="right">Inicio:</td> <td align="left"><input name="inicio[]"…
-
1
votes0
answers316
viewsDrop-in-frame menu over another frame
Hello, how do I make my menu that is inside a frame go over another frame? I have the following html: <frameset rows="150,*" frameborder="no" border="0" framespacing="0"> <frame name="menu"…
-
1
votes1
answer413
viewsHow to modify only one side of the div?
Hello! I am trying to make an effect of transforming only one side of the div as in the following image, I tried using skew but it modifies the entire div, see how I would like it to stay…
-
1
votes2
answers3247
viewsHorizontal scroll bar with bootstrap 4
My dear, my site is popping on the sides generating a bottom scroll bar and next to the right edge is a whole white part. I can’t see where the mistake is. Here’s a print of what’s going on. Follow…
-
1
votes1
answer265
viewsNumbers in Cpf (JS) format
I get numbers from a Cpf coming from the API, then it goes to a table that I made, only the numbers are not in Cpf xxx.xxx.xxx-xx format and I would like it to stay, but I don’t know how. Just click…