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
answer53
viewsMenu does not change width
I’m making a menu vertical and putting the color black as background. What I’m going through is I want to leave a fixed width of a 200px for each line of the menu, only it does not change. It leaves…
-
0
votes1
answer957
viewsHow to Style Current Page Navigation Link
The image above is a print of menu I’m developing that has the style I put right in CSS. But only when I pass the mouse above the link, that is when I do :hover which is what I was doing in this…
-
0
votes1
answer42
viewsHow to use the rel_canonical tag when two domains point to the same site?
I have two domains exemple.com exemple.tk they point to the same content including all their sub-pages how I use tag rel_canonical ?
htmlasked 9 years, 2 months ago Amadeu Antunes 3,331 -
0
votes1
answer992
viewsHow to Create Tabulated Data with Link View More?
I’m pulling from the database records of a certain table. I want to show only 4 out of 4 records on the screen. But I would like to pull them all at once instead of paging (1, 2, 3, 4). I want to…
-
0
votes1
answer288
viewsImages don’t stay inside the div
I have a div where I want to leave 2 images on top of each other, and only the image checked in an input will be visible, while the caption of the visible image should be positioned to the right of…
-
0
votes1
answer753
viewsHow to appear what I typed in the input in an image
Hello, I would like to know how I can do the following, I have several images with names, and created a script in js for me to type in the input and what I typed appear below, and this time I would…
-
0
votes1
answer187
viewsModify HTML element via Jquery functions
<div id="post-0" class="col-md-8 single-publicacoes"> <div class="index"> <div class="index-thumbnail">[IMAGE]</div> <div id="index-mascara">[EFEITO]</div>…
-
0
votes1
answer148
viewsUser registration system
I already have the system, only I don’t know how to develop the mistakes. For example: Passwords do not match, user already exists, email already exists. <?php include('../includes/config.php');…
-
0
votes3
answers56
viewsAccess to arrays of other HTML functions
I have this code: function shuffle(array) { var counter = array.length, temp, index; // While there are elements in the array while (counter > 0) { // Pick a random index index =…
-
0
votes1
answer297
viewssend javascript link when selecting checkbox
Guys I have a checkbox, and I need javascript to send the link according to the checkbox selected. Example html: <input type='checkbox' id='1'> <input type='checkbox' id='2'> <input…
-
0
votes2
answers61
viewsColor of text in direct mail (gmail) already read
By gmail, when we receive a second email that has the same text as the previous one it changes the color of the text. I can manipulate this in the html/css of the direct mail, so that the color of…
-
0
votes1
answer222
viewsHelp with progress bar!
Hello, good morning, I would like to know if anyone has seen or implemented a progress bar when scrolling the page. a bar that is fixed below with a forward button more or less that.. var sections =…
-
0
votes2
answers1114
viewsAnchor in Angularjs
Hello, I need to create an anchor where when I click on a link it arrow display block in a hidden div and scroll down the page to that div. The part about display block I’ve done, what I need is the…
-
0
votes1
answer54
viewsStretch canvas without interpolar image
I have a canvas of width = 400 but, with Style.width = 100%, the image interpolates and the right angles of the pixels blur. I want to keep the pixels well visible, if anyone can help me I am very…
-
0
votes1
answer12056
viewsCreate search bar
I am creating a website and designed the search bar. The problem is that I don’t know how to activate it or that it works with my site in html. There is an easy way using google search boxes on our…
-
0
votes2
answers675
viewsFold transition effect with CSS
I’m using the code http://codepen.io/rsvaz83/pen/aORzBy below to create a fold transition effect on a button, but I can’t avoid the white background that is in the top left corner of the button.…
-
0
votes1
answer64
viewsThe Site disagrees on the responsive
Well, inside the body, I put two Boxs, col-Md-6, with a 1px edge, but one was next to the other, and it was not meant to stay, then I put a margin-left of 28px, in the two Boxs on my left side of…
-
0
votes2
answers101
viewsStatus in the news system
I have a news system and it is derived from the status, if $status = Active it appears and if $status = Inactive it does not appear, how can I do this? <?php $news8 = mysql_query("SELECT * FROM…
-
0
votes2
answers318
viewsHow to create a static website
I am developing a site with only HTML and CSS. I want the static size to be this: #tudo{ width: 1024px; margin: 0 auto; text-align: left; /* "remédio" para o hack do IE */ } The problem is when the…
-
0
votes1
answer182
viewsUpload image without extension in webapp
I have a webapp made in Angularjs and Ionic. At a given moment I load images of a webservice, however these images have no extension, being something like,…
-
0
votes1
answer85
viewsI would like that bar when scrolling the page
But just go filling the steps when scrolling the page, someone can help? $(document).ready(function() { var i = 1; $('.progress .circle').removeClass().addClass('circle'); $('.progress…
-
0
votes0
answers54
viewsProblem with Javascript loop
Hello I’m trying to create a list of products giving a loop, but I’m having trouble giving the loop in the Javascript file. I am posting the files and access addresses so that they can check the…
-
0
votes1
answer67
viewsUse div class in js validation
I have a login validation in js that generates an alert: <script type="text/javascript"> var mensagem = "<?php echo (isset( $_SESSION['erroLogin'])? $_SESSION['erroLogin'] :…
-
0
votes0
answers44
viewsValidate Password entered on an LDAP server
I have a page in HTML, CSS bootstrap, js and the like. The page is a self-service so users can change their password. works like this: DIGITE SEU USUÁRIO : DIGITE SUA SENHA ATUAL : DIGITE SUA NOVA…
-
0
votes1
answer1422
viewsOverlay a static image with the webcam image
Well, it’s a simple project, a "website" which accesses the web cam, captures the image and sends it to a server. I was able to implement the web cam with the following HTML5 javascript code:…
-
0
votes0
answers79
viewsVolume controller
I have a script for the controller, and it sets a value, and this value I wanted to put as volume. Is it possible to do this? Below I will show where I want the value to be: <script…
-
0
votes2
answers2693
viewsClick on an image to show a div
My question is as follows, when you click on image 1, div 1 appears, but then when you click on image 2, div 1 disappears and div 2 appears, and then when you click on image 3 div 2 disappears and…
-
0
votes0
answers193
viewsManipulating elements of an iframe
i have a page, for example, index.html and form.html The index.html page has an iframe, which loads the form.html The question is: by the index.html page, I can via JS submit a form, which is within…
-
0
votes2
answers124
viewsLogin system (error when banned)
I have a login system and I wanted it to appear ERROR if the user is banned. The SQL name in the table is "ban", if "ban" equals "0" the user will not be banned, and if "ban" equals "1" the user…
-
0
votes1
answer2080
viewsChange the background-image of the div according to the banner image
I need to create an effect on my slideshow that for each image displayed in the slideshow the background of div class="banner-backg" change the background-image. For the slider I’m using the…
-
0
votes2
answers360
viewsHow to validate in HTML forms
How mandatory fields are made in HTML forms (those that commonly use an asterisk * to indicate mandatory)? There is a parameter directly in the tag input? If not, how is the validation done (for…
-
0
votes0
answers378
viewsHow to export an entire DIV (with images, table and charts) to PDF?
I have a DIV with several elements ( images, table, graphics) and need to export this whole DIV to PDF, I tried using jsPDF plugin but did not render CSS!!
-
0
votes2
answers3914
viewsSend message on the same page after form Ubmit
I have a form included within a modal window. My question is how it should be done to appear a completed sending message within the modal window after the form is sent, all this process would need…
-
0
votes1
answer1464
viewsStyle input type file
Is there any way to style an input type file and leave it like this? I tried styling via css but I didn’t succeed. I can’t think of any way to do this.…
-
0
votes1
answer78
viewsOpen different elements js
I would like to know how I can create a function in JS/Jquey which opens a DIV which nay this visible. However, I will have more than one DIV, and I need the JS to identify these DIV’s (I hope I was…
-
0
votes2
answers312
viewsChange class value in jquery at a certain resolution
I’m implementing a youtube video plugin, but I want this plugin in a certain resolution to change a value in your statement. Follows code of example : $('#youmax').youmax({…
-
0
votes0
answers64
viewsPass parameter to a second html page
I have a page containing 2 textbox e um submit, I have another page on which would be the next that also has 2 text box com um submit. How could I make for the information typed on the first page,…
-
0
votes2
answers8227
viewsMask Percentage and Money field using only number?
I have an html page made for mobile, I would like to put 2 types of mask being % Percentage and R$ Money but I need this field to be type="number" to show the cellular numeric keyboard. I’ve…
-
0
votes3
answers695
viewsHow to generate code in the javascript div
I wanted to know how to put a code html in a tag div using `javascript I would also like an explanation on how to redirect someone to my page if someone removes my id from the page, I’ve seen it…
-
0
votes2
answers470
viewsLimiting the number of selected values
How can I change the script below to work in the following precise way that it performs the following limit the number of marks or can select in the max 2 items of the list if it exceeds the maximum…
-
0
votes1
answer1680
viewszoom in/out button of a div
They know some way with jquery and/or css to simulate the zoom in/out effect of a div. Div does not necessarily have an image. Without the increase/decrease div, simulate this effect for the…
-
0
votes1
answer56
viewsShowing and hiding input
I have a button, when I click on it I want a field like input, in this field, when I add some text I want it to go to the database, with a ALTER table. How to do the input appear and how to make it…
-
0
votes1
answer3022
viewsScroll bar in a select
How to scroll a "scroll" to scroll in a select ? For example: <select> <option>a</option> <option>b</option> <option>c</option>…
-
0
votes1
answer304
viewsDo not allow e-mail registration and or user in Angularjs duplicity
Please, I can’t finish this simple code... Should return the error "User already registered" or "Email already registered", please help me fix the Function below, I’m a little layman, more I’m…
-
0
votes1
answer107
viewsAngularjs with Guid in Asp.NET MVC
I am using Angularjs for the first time and I would like to know why this is not possible, I notice that during the debug, there are several errors of Parse inside the angular min.js, I believe it…
-
0
votes1
answer494
viewsurl from the root of the site
Good afternoon, I would like to clear up a question I have for some time in PHP. For example, in this case, I have the site’s translation system, but it only works for the directory in which it is,…
-
0
votes1
answer1156
viewsCalling another page with bootstrap button is not working
This very simple javascript does not work: function Nova() { location.href = 'pme_beneficiarios.html'; } That’s the call on the button: <button type="button" class="btn btn-primary add-task"…
-
0
votes1
answer1596
viewsHow to display photo in modal
I have a system made in Codeigniter. I have in the system a field to add collaborators with photo(avatar), I can register, edit and display the information in a table. I created a button to call a…
-
0
votes2
answers99
viewsHow to scroll horizontal on tumblr
Hello! I think the title says it all. I’ve tried many tutorials, but I can’t get anything. The basic theme I’m trying to change is next. Thank you…
-
0
votes0
answers40
viewsJavascript - How I assemble a list of inputs using an array that is an array of another object
I have a set to set up a grid on frontend, but I’m not getting to ride. I get from my backend um JSON that contains a list. This list has two fields: Order and Size, and to mount on screen, the…