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
-
2
votes2
answers5471
viewsScroll to the button
I need to get the user to click on div with class panel-heading (h2), scroll down from the screen to the link sitebusca.html/. How can I create this code? HTML: <div class="panel panel-default…
-
2
votes2
answers41
viewsHow to stipulate details with a SELECT
Well, I gave a SELECT, to pull my data, only I wanted to do the following: If $category is 1, it would be called World, and if $category equals 2, it would be called Moon, how can I do that? Code:…
-
2
votes3
answers154
viewsThere is some significant difference between the IMG tag and INPUT IMAGE
What is the difference of <img src=''> and <input type='image' src=''> ? Any specific occasion that would be better the use of any of them?
htmlasked 9 years, 7 months ago Silvio Andorinha 8,394 -
2
votes1
answer499
viewsDrag div inside another
I wanted to make a volume controller, I’ve done css, php, html, but it lacks js and jquery to finish. I wanted to . ball dragged inside the . control CSS: .bola { width: 10px; height: 10px; }…
-
2
votes2
answers2431
viewsFrom one table to another html table
I have two tables in an HTML page which is the following: One with my selected subjects. Another with a list of subjects to select. PS: I’m just studying, I’m not using databases or anything like…
-
2
votes1
answer775
viewsHow to make slide effect with jquery and js
Well, using jquery and js, I wanted to make a slide where my php would pull a lot of Ivs, and the limit will be 8 Ivs, for example, if you click the next button, it will move on to other Ivs that do…
-
2
votes1
answer3005
viewsHow can I change the color of scrollbar inside a div?
How can I change the color and style of a scroll bar within a div? I searched the internet and found this example but it didn’t work: scrollbar-arrow-color:#000000; scrollbar-base-color:#000000;…
-
2
votes1
answer198
viewsCreating application . exe type phonegap
I wonder if there is any application like the phonegap that translates packages a system html+js+css in a .exe If yes (I believe there is) What (is) tool(s) exists(m)? How to create?…
-
2
votes2
answers360
viewsReturn Divs to start position
At this time the drag3 always returns the initial position, except when it is placed in the drop1. In the complete game it has 4 drag s and 4 drop s but just 1 of each for example and give to…
-
2
votes1
answer446
viewsTwo submits on the same page
I have a page with a list of checkbox and with two buttons: One is to View and the other to Send the report by e-mail. That is, the user will select the fields he needs to see in the report and he…
-
2
votes1
answer973
viewsSubscribe button from youtube
I’m making a page listing youtube videos and I would like to make a button for the user to subscribe to the channel, but in the examples I found on the internet they come a lot of information beyond…
-
2
votes1
answer977
viewsHow to "crop/slice" the image layout with HTML and CSS?
I have doubts about how to build the layout below with HTML/CSS: I haven’t implemented anything yet, because I have no idea how to do. Any suggestions? Thank you!…
-
2
votes1
answer99
viewsInput within DIV with visibility:Hidden
Guys, here’s the deal, I hid some div,that have inputs from a form inside, with style='visibility:hidden; position:absolute' And I’d like these DIV did not send information when the form was…
-
2
votes2
answers786
viewsWhat is the simplest way to print an idented javascript text to html?
have to print this in an easier way? public static void swap(int[] list, int i, int j) { /* This method simply takes an array and swaps its values at index i and j */ int temp = list[i]; list[i] =…
-
2
votes5
answers3537
viewsMake div disappear
I have a code that only works if it keeps one <div id="panel">, but would not like it to appear on the screen. It has to keep this div, but let it invisible?
-
2
votes0
answers120
viewsForm redirected to a second page, but I don’t receive the information submitted in the email
I have a form called formulario.html that when it is successfully submitted, the person is redirected to a site thank page called agradecimentos.html. Everything was working fine, but when I go to…
-
2
votes1
answer2228
viewsHow to organize the HTML body on the screen with CSS
I made a header and a retractable side menu, but I can not now organize the body of the site next to the menu, it is always down and if I give float left and right it is occupying 10% of the screen…
-
2
votes4
answers1091
viewsHTML DIV ID set with echo
I’m having a problem that I can’t figure out, I can’t understand why the ID of the DIV does not receive the value from php, using the value of the constant $i, He always gets the last value of the…
-
2
votes1
answer3154
viewsHTML list with image in UL
I need something like this: <input type="image" src="~/Images/meu-icone.png" style="max-height: 15px;" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"…
-
2
votes1
answer1441
viewshow do I get the page link
I want to create a share button to put on other sites, such as facebook, or twitter and for that I need that when I click the button save the url and send to my email, how do I do this?
-
2
votes2
answers50
viewsHow not to send many records by clicking often on the button
I have a button, where I’ve seen several topics and one of the solutions it disables, but does not send the data. Button code: <button onclick="this.disabled = true; this.form.submit(); return…
-
2
votes1
answer97
viewsQuery to SQL database in text saved by Tinymce
I am using Tinymce to edit texts on my website. When I search a word with accent. Ex.: análise, query does not find why the database is saved in HTML análise. I am using ASP.Net MVC with…
-
2
votes1
answer76
viewsReplace if loop is empty
Good people, I have a question because I was a little "stuck" not knowing how to do it. I have the following code: <? foreach($data as $index => $row) { $className = $index % 2 == 0 ? "class"…
-
2
votes1
answer721
viewsWhat is the best way to set the height of an iframe at 100%?
People what would be the best way to define the height of a iframe at 100%? I have tried with Height=100% own property HTML (although it is no longer advisable after the HTML5 and of the CSS), and…
-
2
votes1
answer111
viewsUpdate does not work in database
Good staff, had already made a topic here about it and solved it right away, but then I noticed that when I fixed this problem I got another one. Here is the code: <? error_reporting(0);…
-
2
votes2
answers5810
viewsHow to run Vimeo video automatically (with autoplay)
You can start a video automatically when you open in a lightbox? When clicked, open a lightbox with the VIMEO video, only I want it started when opening the link and not when you click on play. I…
-
2
votes2
answers164
viewsCheck if a value exists but print another
I have the following code: <span class="end"><h1><?php echo $this->seo_tags->h1spam; ?></h1><h2><?php echo $this->seo_tags->spam;…
-
2
votes3
answers2837
viewsStore multiple checkboxes in a single column with PHP + Mysql
I’m having trouble storing multiple checkbox in the same table field. In this case, by filling in the form and marking more than one checkbox, it stores only the value of the last checkbox. Here are…
-
2
votes2
answers1755
viewsHow can I make this div disappear?
I’m a beginner, and I’m creating a personal website. In it, I want to put a style of modal with a product to buy. I was able to find something that at least looks like a modal, but I’m having…
htmlasked 9 years, 10 months ago Hugo Marcelo 603 -
2
votes3
answers202
viewsForm Dynamic
Speak my friends night programmers, well my doubt is the following, I’m trying to fill an HTML form with random values, for this I’m using a array with predefined values and function rand() PHP. The…
-
2
votes1
answer1846
viewsHow to host my angular application
I have the following directories in my angular application: node_modules/ src/ --client/ ----/app/ ----/index.html --server/ package.json file print I would like when the user accesses my site he…
-
2
votes4
answers25607
viewsLoad page and scroll automatically to a particular element
On a contact page there is in respective order: a banner, map and form. How can I make sure that when loading the page is automatically scrolled down leaving the beginning of it from the map?…
-
2
votes1
answer303
viewsHow to make an ajax request that returns an html text?
Assuming the link making the request is: <%= link_to 'New Classroom', new_classroom_path,class: :remote_link, remote: true %> And may the treatment of the return of the same be:…
-
2
votes1
answer91
viewsmove_uploaded_file can’t catch a file
Hello, the move_uploaded_file can’t get a file. echo " <form method=\"post\" enctype=\"multipart/form-data\" action=\"testar_formato.php\" id=\"upload-container\" class=\"fileUpload\">…
-
2
votes1
answer860
viewsMenu with vertical and horizontal balls
How can I make these two menus? I got it from the Twitter site, but I didn’t want to get their codes, how can I do that? so that I can add infinite numbers with their respective descriptions..…
-
2
votes1
answer118
viewsHow to navigate a website if a single page?
I want to make one of those one-page websites, but I can’t think of one thing: how can I do that when I click a button it scrolls down the page to the related content? In the menu have to have a…
-
2
votes1
answer91
viewsWhy is my radio input returning "on"?
Have this code: $(document).ready(function(){ $("[name='valor1']").on('blur',function(){ $(".empresa1").text($(this).val()); $(".valor1").val($(this).val()); });…
-
2
votes1
answer200
viewsDisplay codes on the front end without being executed by Edit Post
I need my front present codes and scripts without them being executed when creating POSTS. Is there a plugin for this? I used <pre></pre>, but still HTML codes are executed. See in the…
-
2
votes3
answers360
viewsInput type="text" field does not fill data with more than one word
When loading a data into an input only the first word is loaded. Example: '</form> <input type="text" value='.$result->name.' >'; $result->name contains the value "Hello World".…
-
2
votes1
answer39
viewsDoubts about Immaterial with jQuery
Suppose I have a div with Hidden visibility, how to proceed to when I click on a button this div gets visibility : Visible and seconds later get Hidden again? I couldn’t even use visibility with…
-
2
votes2
answers783
viewsClear input when user starts writing
Good afternoon, maybe there is already this answer or this question. However I did not find here or in google as I need. I found several scripts to delete the field of an html form when the user…
-
2
votes1
answer1150
viewsProblems with SELECT option with PDO
Friends reissued the PDO connection below: <?php $conn = new PDO( 'mysql:host=localhost;dbname=pbfjacar_site' , 'pbfjacar_murilo' , 'smc100164' ); $stmt = $conn-> prepare('SELECT font FROM…
-
2
votes1
answer5125
viewsHow to print HTML background colors with CSS
<body> <div id="div0"> I love ... </div> <div id="div1"> Teste </div> <table id="table" border="1" align="center"> <tr> <td> Coluna 1 </td>…
-
2
votes1
answer571
viewsTake all html tags minor to line break
My doubt is simple, I think. I receive via post the description: $descricao = strip_tags(mysql_escape_string(trim($_POST['descricao']))); And when I print on the screen I use:…
-
2
votes1
answer126
viewsDynamic table
Friends, I need to create a dynamic table in HTML and Javascript that will work as follows: I have a series of items in a Combobox and when selecting, creates a column in a table. After, I add…
-
2
votes1
answer979
viewsPrevent duplicate registration with PDO
I’d like to prevent the same source from registering for duplicities. The code used for registration is below: <form name="enter" method="post" action="" enctype="multipart/form-data">…
-
2
votes0
answers99
viewsProtect Content Player Language
Next, I would like to use some component of player in html that did not display the Access to running content. Has anyone ever seen a scheme that renders a player in the browser, but when someone…
-
2
votes1
answer3577
viewsIs it possible to add a contact on the phone via code?
In a list of users on a mobile system it is possible to have a button that adds the contact on mobile ? Would be a button ADD that, when clicked, appeared that Android contact add screen, for…
-
2
votes1
answer53
viewsHow to create tag event?
I am creating a form and would like to add tags each time a name is selected with an autocomplete. This would be the equivalent of adding tags to an OS question. I would like to have a basis on how…
-
2
votes1
answer183
viewsDoubts about Javascript and HTML
Guys, here’s the thing, I’m trying to make a move only it’s not coming out like I hope. *HTML code * <div id="apresentar"> <img src="img2/fechar.png" class="fechar-foto"> <div…