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
answer62
viewscommand to make a phone call
So I’m trying to put an image where the person clicks and starts a link, and in this code I must insert the phone, to direct. It’s part of a mobile app, I’m doing it on an html page and I don’t know…
-
1
votes0
answers85
viewsPrint html page without losing settings
I wonder how do I print through a JS function, all the information contained within a <div>. However you would have to print only what contains in div, without losing colors and formatting.…
-
1
votes0
answers177
viewsMultiple selection of radiobutton
I’m making a registration form that has the link Add more fields and when the person clicks on it, multiplies the form fields. One of these form fields is 2 radios Buttons, which are "Do you have…
-
1
votes2
answers589
viewsImage changes alignment of all components within a div
I’m creating a FORM within a DIV. In it I have a text box for the user to enter the data and an image, to the right, to forward the data. The problem I’ve been having is that my image changes the…
-
1
votes1
answer168
viewsChange soon according to the page
Hello. I need the logo of the site to change according to the page the user visits. I have a site made in PHP in which the top is a include. So I thought to change the logo via Javascript. I put the…
-
1
votes1
answer112
viewsMake a javascript work within a URL
The javascript code below works perfectly in the HTML of my site. It is a geo-target server that shows the city based on user IP. <script…
-
1
votes1
answer5306
viewsHow to change the innerHTML of a DIV, since there are other elements within it that cannot be changed?
I have a blog and the attribution of this blog is incorrect and not even changing it works. I wanted to use a script that changes innerHTML within this DIV but without changing other content.…
-
1
votes0
answers28
viewsFTP Rush Safe Mode
I’m having a problem using Ftprush. on the site that has been created there is a safe and other unsecured mode. I currently use the Protocol "SSH FTP" I tried to get in another way and I can’t with…
-
1
votes1
answer59
viewsProblems with connection to the database
I have an error that could not connect to database on line 125 in the file I will leave here. 'Cause they handed me a website but I don’t understand anything about you. I have to call (for testing)…
-
1
votes1
answer529
viewsRadio Input with default value
Using Asp.Net MVC 5 with Angularjs want a input radio come checked by default. According to the link: How to select a radio button by default? Assign an initial value to radio button as checked Just…
-
1
votes2
answers1206
viewsClick event not working
<html> <head> <title>Notícia</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body>…
-
1
votes2
answers256
viewsDisplay the class of different tags from one ID each click
I want to make a code that takes the class of an ID whenever it is clicked: html <ul> <li id="alert-class" class="class-1">1</li> <li id="alert-class"…
-
1
votes1
answer943
viewsManipulate an iframe through another iframe
Hello, I have a question and I would like to ask for your help. Well, I’ll try to explain more or less the problem (the names I’ll quote are just for example). Imagine I have a file called…
-
1
votes1
answer1781
viewsHow to place next and previous buttons on a slider?
I have this slider simple, but I can’t put buttons Previous and Next. And I was wondering if it’s "viable". HTML <div class="fadein"> <img…
-
1
votes2
answers1476
viewsHow to pin a footer to the bottom even with a lot of content
I’m trying to dynamically add content to a page, but when I add too much content, the footer is fixed at the initial height of the screen, and the text is on top. I need it to drop dynamically when…
-
1
votes1
answer891
viewsTextarea function php pass data
I have a question about how I can be passing the value of a textarea to a php function. I have the following function: function _dup($cclist) { for ($i = 0; $i < count($cclist); $i++) { $ccnum =…
-
1
votes4
answers3842
viewsLink in tr of table
Well, I need every line tr of my table be a link for when the person click redirects to the related page. I tried to do it this way: while($linha = mysql_fetch_array($query)) { $timestamp =…
-
1
votes1
answer64
viewsScript Problem with PHP Checking Session
I have a form but it is hidden only when clicking a button located on the Nav is called that function: <script> function verifLog(){ <?php session_start(); if (isset($_SESSION['user'])){…
-
1
votes1
answer1481
viewsDisplay HTML text in ASP Textbox?
I’m trying to show a text formatted in HTML in a asp text box and I’m not getting. For example this formatted text: <font size="6">teste</font>, I would like when you display this text…
-
1
votes2
answers172
viewsOpen Modal window if difference between dates is equal to X days
I don’t have much knowledge with javascript and I don’t know how How can I Open a Modal window if difference between two dates is equal to X days Exe. (If clicking on the chosen field and date has a…
-
1
votes1
answer414
viewsFont rendering on Mac makes the font "Regular" look like "Bold"
I have a font rendering problem on my Mac. The font is "Regular" size and renders right in windows, however, on Mac the same font looks like "Bold". Windows is Seven and MAC is Yosemite. I’m using…
-
1
votes1
answer118
viewsUse Jekyll Folder with option to list categories
i have two directories in my Jekyll theme, the folder Blogger and the folder Projects, these folders contain the subfolder **_posts* inside. As in the structure example below: |- My-Theme/ | |-…
-
1
votes4
answers8659
viewsReceive real-time input value
Well, my question is this, I have a form with 2 inputs, that is for people to put 2 dates in each. If following I have a javascript that calculates the difference between the 2 dates. I would like…
-
1
votes0
answers291
viewsWeb Pages - Show, impute and search data in an Excel file
I created a page WEB to function as a FAQ in the Sharepoint 2010. But I don’t have much knowledge Sharepoint nor HTML and JavaScript. I am researching to gain more knowledge on the subjects. On my…
-
1
votes2
answers334
viewsCSS heritage in Divs
I’m having trouble editing some legacy Ivs. Let’s take a look at the example: This is the current code: <div id="conteudo"> <div class="titulo">xxx</div> <div…
-
1
votes1
answer271
viewsInsert current date in Database
I have a database with a table Noticias with: Id (Primary key and auto_increment) News (varchar, where I write the news) Date(where the current date has to be, only dd/mm/yyyy) but I never messed…
-
1
votes2
answers1716
viewsGet value from an iframe via Javascript
I have a code that is in an external file and I need to load it via Javascript, but I don’t know how to do this. I have tried several ways, and apparently the best would be with an iframe, but not…
-
1
votes4
answers706
viewsPlace a url in the text field and show it in a DIV next door
How can I do that? I have a form that has some input text, I would like when the user pastes a url of an image on the web appears next to a div with that image. I think it would be with Ajax but I…
-
1
votes0
answers130
viewsCakepdf for Cakephp 3.x, DOUBT!
I’m using Cakepdf, pro cake 3.x Follow the link : https://github.com/FriendsOfCake/CakePdf/tree/3.0 I’m having problems, because I did it according to myself.. and when I type .pdf.. is the best…
-
1
votes1
answer45
viewsCode abstraction with multiple Replaces
I have this code pad: xml = xml.Replace("<html>", ""); xml = xml.Replace("<head>", ""); xml = xml.Replace("</head>", ""); xml = xml.Replace("<body>", "<certidoes>");…
-
1
votes1
answer9335
viewsHow to create html links that are directed to specific points on the page itself?
Lately I’ve noticed a few pages on html even being offline had links that directed the user to specific points of the page itself and would like to learn how to do this on Notepad++.…
-
1
votes2
answers177
viewsTag <code> recognize language (Wordpress)?
I do not understand much of this tag, but wanted to know how to make a scheme of the style of this site in a Wordpress blog, code example: string demo = "StackOverflow"; if(demo.Lenght == 13) { demo…
-
1
votes1
answer513
viewsphp does not recognize the file field
So guys I’m working on a support system where has a form for the user to send the message where he selects the area, type the title the message and also a to send files if necessary the problem is…
-
1
votes1
answer54
viewsTextbox with editing
I have a textbox And I wish I could edit the text on it. For example, I wish that on the website I could write in the textbox the following text: "This is a test!" And that could do, by clicking…
-
1
votes1
answer71
viewsHow to insert Jquery using Emberjs
I’m building a web app with Ember.js (simple) and I’m trying to use some animation functions with Jquey, there goes the code: require(['../js/bootstrap'], function () { require([ 'jquery',…
-
1
votes1
answer712
viewsHow to place the title of the HTML page according to the user name in the database?
Hello, I am creating a registration and login system, and I want that when the user finishes making his registration and login the first time, the title of the page of the site is with his name.…
-
1
votes1
answer21
viewsMootools interfere with jQuery?
Good morning. My site uses jQuery, but I need to add a code that sends a confirm() to close the browser, however I realized that only works with the library mootools: window.addEvent('load',…
-
1
votes0
answers568
viewsPHP - Insert database image in pdf generated via fpdf
I am using the fpdf system to generate pdf files through an html form. But I would like to insert in the pdf an image that is uploaded in the mysql database. The sintese to insert image in pdf is:…
-
1
votes1
answer1453
viewsHow to extract content from a PHP page?
Guys I’m basically trying to get some data from SEFAZ, to check if it is online or unavailable at the moment I’m not getting it up because I don’t know, I wonder how I can is picking up a certain…
-
1
votes2
answers791
viewsHow to create anchored links and darken all the rest of the page’s content except the intended section?
Here’s what I wanna do: <div id="ponto0"><a href="#ponto1"> Link </a></div> <div id="ponto1"> conteudo </div> By clicking on the link href="#ponto1" the person…
-
1
votes1
answer68
viewsSkip page 5 in 5 Blocks
Good afternoon, I’m returning data from a table and showing in CSS, but I need to display 5 blocks per page and every 5 blocks I need to insert a snippet of code to force the browser to go to…
-
1
votes1
answer4184
viewsLoad content into a DIV using Javascript
I need to upload the video.html page to div with video id using Javascript. I have the following script: function video() { $.ajax({ url: "video.html", cache: false, success: function(html){…
-
1
votes2
answers842
viewsList items from a Dropbox with navbar responsive bootstrap
I am formulating a responsive page with bootstrap, where I have 2 bars: NAVBAR where I have the company logo, and a simple Dropbox with the name of the person, and with the options change password…
-
1
votes2
answers17110
viewsHow to adapt this login system to Javascript?
I need to create a simple internal login system to apply to a blog. I can’t make my code work at all, and I need help. This is the Code: <script language="JavaScript"> function Login(){ var…
-
1
votes2
answers1946
viewsCustomization of buttons
Put more beautiful buttons in place of these forward and back arrows. <div class="wrapper"> <div class="header"><!-- --><button class="prev go" data-go="-1"…
-
1
votes0
answers79
viewsProblem with Firefox Printing
I have a system structure basically like this: <ul id="tabs" class="nav nav-tabs"> <li><a style="border-color: transparent;" data-toggle="tab" onclick="alterarAba(1)" href="#tabs-1"…
-
1
votes1
answer230
viewsTable alignment
Why is the page data of the rounds of this table are not aligned correctly? I’d like them to stay the right way, or be aligned like the rest of the other rounds, like2,4,7,9 without having the…
-
1
votes2
answers2652
viewsUpload image with php
I’m looking for a way to upload an image inside a form criminal record. But every solution I find does not serve me, because I need the upload to be done as soon as the user selects the image,…
-
1
votes2
answers787
viewsHow to loop with input select PHP?
I have an array named $c that I made through a explode need to count with the for to see if it is Selected. The problem is that it echo option 2 or how many times there are records. Does anyone have…
-
1
votes2
answers3248
viewsGet HTML from multiple Divs with the same ID
I would like to know how to get content from a WEB page where I have several Divs with the same Ids. One looks like the other, the div 1, is like a Titulo, already a Div 2 as if it were the…