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
votes0
answers32
viewsData compared within an array
So I’m making a screen where the person puts their name and date of birth, adds in an Array, but now I want the person to choose to list by name or date of birth, but I don’t know how to use my…
-
0
votes3
answers46
viewsCode to open new tab link with counter
I have no experience with programming, I would like a help: I found this code on the internet: <html> <head> <script type="text/javascript"> var contador = 20; function contar() {…
-
0
votes1
answer28
viewsRun product message not found
<? public function busca() { $busca = '%' . sanitize_text_field($_POST['busca']) . '%'; $nome_categoria = ''; $produto_categoria = array(); $link_categoria = ''; $categorias =…
-
0
votes2
answers55
viewsHow to change the style of a page by clicking a button?
I have an HTML page and external CSS. I made a high contrast version, which when the user clicks the button, the whole style of the page changes. To do this, I created an anchor (<a>), who…
-
0
votes0
answers24
viewsChange background-color cells with ids via Javascript
Guys I’m not able to change the background-color of my cells through their ids using Javascript. Gives the following error: Uncaught Typeerror: Cannot read Property 'style' of null. Does anyone know…
-
0
votes0
answers21
viewsjQuery autocomplete with local API
I created an input text and through jQuery I am making an autocomplete, I was able to make it work by putting local data, as I do to show the data of an API generated as localhost. I don’t know how…
-
0
votes0
answers64
viewsAdd a button to delete a task from my to-do list
Add an "X" button next to each task, which when activated it deletes this task. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta…
-
-1
votes4
answers1519
viewsHow to change the appearance of the site according to the device used, without having to script on the client or server?
Someone here knows how to create a responsive site from scratch? Without using a framework like Bootstrap? I need it because I get it layouts in all custom PSD and it would be easier to create from…
-
-1
votes1
answer201
viewsHow to create a button with the Custom Scrollbar plugin?
Custom Scrollbar My idea is to create only one button. When you click it it is activated and with the automatic scroll working, when you click again it is disabled and disables the automatic scroll.…
-
-1
votes3
answers204
viewsPlugins or tools to create blog posts?
Guys I have a personal blog and I will create the session where I create the posts, I wonder if you have any plugin or tool that does not depend on any server side language where I create the post,…
-
-1
votes1
answer313
viewsUse of -Webkit-* and -Moz-*
The prefixes -webkit- or -moz- shall be used for elements operating without the use of such elements (such as box-shadow)? Normally those who use Chrome and Firefox have versions that support many…
-
-1
votes1
answer168
viewsCharacters from the English language in Jquery
I know little about Html, Avascript, etc., I needed a window similar to Javascript but with different font size, I searched and discovered the custom Jquery windows, I downloaded a window called…
-
-1
votes1
answer194
viewsError Angularjs
Hello, I am applying the following function in my Angularjs controller: $scope.cancelChanges = function() { $scope.name = $scope.namebackup; $scope.$apply(); }; However, when running $apply(), it…
-
-1
votes2
answers2573
viewsDropdown does not work
I have a dropdown menu that shows links to the gallery and videos, however, if you’re in a view other than index.ctp the dropdown no longer works. But if I take dropdown.js of the "source code"…
-
-1
votes2
answers58434
viewsBackground image, using css
How do I put a background image on div, using css? I tried using simple quotes but nothing happened: background: url('images/html.jpg'); I’m doing so in the: #tudo { width: 100%; height: 992px;…
-
-1
votes1
answer3118
viewsConvert html page to image or pdf?
I would like to generate an image or pdf from a file html and send the file by email, anyone know how I can do that? I’ve looked for some classes, but I didn’t find any ideal.…
-
-1
votes2
answers351
viewsJquery . click or Function
As I get used to it more and more <input type=button onclick="TESTE()"> <script> function TESTE(){ ... } To use the jquery method <input type=button id="teste"> <script>…
-
-1
votes1
answer1238
viewsI can’t line up a box in the center?
I’m trying to align the box in the center of the screen, but it looks like it’s lining up wrong even if I put 50% of top and 50% of left. css #conteudo{ position:fixed; top:50%; left:50%; border:2px…
-
-1
votes1
answer1287
viewsHow to insert Json variable value into a href attribute?
A question I wanted to put a variable inside the link href without using code, which is direct in creating the link. The example is just below: <a…
-
-1
votes1
answer863
viewsSetting up an image slider
I studied some HTML and CSS, watching some classes on Youtube and doing the lessons of Code Academy and now I’m creating my first website. I want to add a slider of images, by what I researched, the…
-
-1
votes1
answer110
viewsCSHTML with tabs is leaving a horizontal line at the bottom of the page
I have a page with 4 tabs. It’s working. I happen to have a div for each tab. The end of the tab and the beginning of the other tab looks like this: ..... </div> </form> </div>…
-
-1
votes4
answers175
viewsProblem assigning HTML with . text() and . html()
I need to insert the HTML that refers to an image with hyperlink received through an ajax function on the page, but for security reasons I can’t just insert directly, so I’m passing this HTML code…
-
-1
votes2
answers230
viewsPassing the text of the JS fields
Well, I pass the data of my fields via JS (their codes)! Example in JS: function f_veri_dados() { w_form="sai_frm_incl_novo_cara_peri1"; // Periferico do programa anterior w_param =…
-
-1
votes3
answers831
viewsChanging the theme of a website
I need to create themes for my site, when entering the site the person clicks on a button to switch to the chosen theme, but when clicking the button has to change beyond the css, the images that…
-
-1
votes1
answer139
viewsInsert images into database
Good afternoon, I entered a lot of information in a table in my database through a file. csv using the LOAD DATA INFILE command line and I also have a relationship table where the product ID and the…
-
-1
votes1
answer279
viewsURL forwarding keeping the address
I am using my server to host other websites because my hosting plan allows, however, I would like for example when accessing the directory www.meusite.com.br/outrosite appear in the address bar the…
-
-1
votes2
answers377
viewsCheckbox is not checked
I have an application where a table is dynamically loaded via ajax, and within the table there is a condition, if the condition is true I have to load a checkbox next to each name that is loaded,…
-
-1
votes1
answer1135
viewsCalling PHP function on page onload
I want to call a PHP function that is in the same file. I tried this within HTML code. <?php select($dir, $base); ?> And my PHP function: function select($dir, $base){ $base_hndl = new…
-
-1
votes3
answers1789
viewsHow to apply background-color to the p HTML element?
I need to apply the CSS property background-color to the HTML element p but what’s happening is that this background-color take the whole width of a div for example if it is the parent element and…
-
-1
votes1
answer287
viewsHow to turn a string into a select with PHP?
After a SQL i have how to return this record: // Dados $cores = "amarelo, branco, azul, verde"; I would like to set up a select where the content of $cores as follows: <select name="">…
-
-1
votes1
answer351
viewsPage size different HTML/CSS screens
My doubt is in creating a page in html and css and that same page be opened on different screens. For example, now I have a little problem. HTML: <iframe id="contentframe" width="300px"…
-
-1
votes1
answer75
viewsFunction is not pulling data!
//INSERIR function move_patr_seri(Origem, Destino) { var w_Cont_Qtde = 0; var w_Qtde_Peri = 4; var v_patr = new Array(); var w_valor = Origem.value; var w_tipo; w_tipo = "S"; if(Origem.name ==…
-
-1
votes4
answers10222
viewsRegressive Count Script
I wonder how I can make the script below work as follows in case it and a countdown comes the put it in case it makes a count taking a date posted on it and comparing with the current date doing the…
-
-1
votes1
answer335
viewsCompare values between tags and filter them by value range in check box?
How to make an Input when Checked filter values between tags ? IN JQUERY <div class="Container"> <div class="Thumb-Produto" > <img…
-
-1
votes1
answer77
viewsProblem in pages with size %
I’m creating a page where I have a page that gives me problems when using IE and Firefox. The page in question has 3 rectangles next to each other with a small space between them. For the size of…
-
-1
votes2
answers294
viewsinclude is only inserted after the <body>, and would like it to be included earlier
I use a file called head.php to add meta tags to each page more easily! However include is only included after the body, when in fact I need you to stay before the body! Codebase:…
-
-1
votes1
answer51
viewsSite opening horizontal margin how to resolve
I am making a site that is almost ready and it is opening horizontal margin, I’ve used body{ background:#CCCCCC; overflow-x:hidden; } but it didn’t work, there is some way to open margin without…
-
-1
votes1
answer578
viewsHTML input showing PHP result
I’m starting to play with PHP, and I’m kind of designing a web system. The system would be more or less an idea like this. The user fills for example, a code (ID), say 001212 in an input of type…
-
-1
votes3
answers402
viewsResponsive Design - Text on img background
I have a website start and I’m trying to develop it into a responsive layout. At the moment the site is like this: http://40kgg.zz.vc/ (temporary domain, only for testing). For my resolution, in…
-
-1
votes1
answer442
viewsThe power of Java
I recently saw a Infographic pointing JavaScript as the most used language in the year 2015. And also direct see here on Sopt several posts about JQuery and JavaScript. My question is this, it is…
-
-1
votes2
answers367
viewsResize image with CSS
I have a question about CSS image resizing. I have an image 1920x1080. This image should be automatically resized to fit any screen, but I’m not able to do this. Check out this site:…
-
-1
votes2
answers906
viewsHow to send email through an HTML page?
How to send an email to a recipient established on a page HTML?
-
-1
votes1
answer74
viewsFile Upload
I am new to php and database and have never uploaded files. I have read and advise only to store the path of a file in the database and not the file itself. I was advised to see in…
-
-1
votes3
answers7829
viewsPut external font on website
I have a font that I need to put on the site (edosz.ttf), I have been searching and I ended up with this code: @font-face{ font-family: "edosz"; src: url('edosz.ttf'); } but I can’t! Someone could…
-
-1
votes2
answers714
viewsIndicate home page inside a folder on my site
I have a website, where I created some html pages inside a folder, as I can specify to home page, once user accesses the briefcase and the chosen page opens automatically? I tried by index.html…
htmlasked 9 years, 3 months ago Eduardo F. Santos 449 -
-1
votes1
answer564
viewsEnvironment for HTML and PHP execution outside the Browser
A few years ago I found a software that provided an environment for running HTML+PHP+Javascript applications outside the browser. For example, it was possible to develop an application in these…
-
-1
votes1
answer1866
views -
-1
votes2
answers3817
viewsHow to format whole number in currency with javascript?
Example var number = 3500; I want you to return 3,500
-
-1
votes1
answer462
viewsJavascript: If dropdownlist is selected, how to load the fields?
Boa Tarde Galera, How do I load some fields if Dropdownlist value is selected?
-
-1
votes2
answers514
viewsPadding Bottom does not work
I’m making the mobile version of my site, with two bars (one at the top with the logo and the other at the bottom of the page with contact links). These bars are with the Fixed position, appearing…