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
-
3
votes3
answers1360
viewsSelect "select" element with jquery
I created on my page one select multiple and I need to take your values in PHP in vector form, so I added [] at the end of the name. Example: <select id="selecionados[]" name="selecionados[]"…
-
3
votes1
answer846
viewsTake TD value and send as parameter
I have a table with two TD only (CNPJ and Social Reason). My controller has a method that takes 2 parameters (CNPJ or Reason). These parameters are sent via jquery. I am unable to do the following.…
-
3
votes1
answer2592
viewsSave formatted text in Mysql DB
I am developing a news system and need to save formatted text, with line break, images between a paragraph and another and bold/italic etc. It’s all working php posting, display and everything.…
-
3
votes5
answers59481
viewsTake content from within a Div and put in Input value
I have a form, and inside it I have an input, which will have to take what it contains inside a DIV, which in case is only text. The input is like this: <input class='formContato' type='text'…
-
3
votes2
answers130
viewsBxslider plugin does not show thumbnail
I’m using the Bxslider plugin to make a carousel with thumbnails, only I’ve tried everything and the thumbnails do not appear on any list. The images come from the database, but even swapped the…
-
3
votes2
answers1018
viewsHow to drag elements using dragSort inside a scroll div?
I need the elements to be dragged only inside a div that has scroll. For example: HTML <ul id="list1"> <li><div>1</div></li>…
-
3
votes2
answers2033
viewsReturning ZIP Code data in form
I have the following problem: I am trying to fill in the fields street, city and state with the post informed. They’re all input. I’m using https://github.com/jbochi/cep My project is in Django, but…
-
3
votes1
answer356
viewsdiv.childNodes.item(0) recognizes tab or space as child
I use Ubuntu 13.10 and know few HTML editors for it. The editor I use is Bluefish, which has helped me a lot. I am learning Javascript by w3shcool and at the moment I am in the DOM nodes part, and…
-
3
votes1
answer985
viewsFlaps change
I have a menu of tabs that as you select the tabs changes the content. Flaps change: <script language="JavaScript"> function stAba(menu,conteudo) { this.menu = menu; this.conteudo = conteudo;…
-
3
votes2
answers971
viewsPaint top titlebar of a table with bootstrap
How do I paint the top title bar of a table made with bootstrap? To paint all thead TR. <div class="pull-right" id="tabela4"> <br /> <table class="table table-striped table-ordered…
-
3
votes3
answers25078
viewsResize images using Bootstrap
I have a 400px image for 400px, and I want to display it as if it had 200px X 200px. What is the ideal way to do this using Bootstrap?
-
3
votes2
answers2234
viewsCheck variables in jQuery?
There is a smarter way to write this verification code, the IF? jQuery("#oformulario").submit(function(){ var nome = jQuery("#nome").val(); var email = jQuery("#email").val(); var telefone =…
-
3
votes1
answer6998
viewsAlign left and decrease distance between bootstrap controls
See the following image: Note that the first label (CNPJ) is very far from the margin and the most important for me. The distance between the label and the control is very large and the distance…
-
3
votes3
answers4061
viewsInsert an empty row <tr> at each size range of an html table (With Javascript)
i have an HTML page that works as report page. It has a table that is fed by the database, however when there are many rows in the query then the HTML table gets very large. It turns out that…
-
3
votes2
answers3872
viewsRight align font icon
I try to align an ico font on the right side of the screen within a header HEADER, but I can’t even use one float: right. But then it goes to the right, however I lose the other alignment settings.…
-
3
votes2
answers483
viewsSmooth scroll without anchors
Look at this site: www.kinfolk.com The horizontal navigation below the photo carousel has a Ease smooth in interaction, and does not use anchors. It’s just a conventional scroll with Smooth and I…
-
3
votes1
answer85
viewsHow to take blocks out of a grid?
I’m trying to do something similar to the facebook Timeline, two columns with multiple posts, the problem is, in some parts a hole opens, the reason is that the bottom block (on the left) is, in the…
-
3
votes1
answer918
viewsPulling content from a Wordpress feed using Javascript
I found a interesting script that can help me a lot in organizing content. The script below is used to pull content from a website through the blog feed. In this case, it is made to use with Google…
-
3
votes2
answers965
viewsHTML + CSS structuring for hover effect on buttons
I have a list of social media icons, which I know how to do, I’m not here to ask how to do, but rather, a more correct way, to minimize my work, if there is, of course. My HTML is like this:…
-
3
votes1
answer555
viewsMake my site appear on the Google news listing
I own a site about a certain subject. And, when I access Google and enter the desired term, there is my site in a good position. However, I would like my website to be listed also on the Google news…
-
3
votes3
answers152
viewsCss alignments
My case is this:: But I want to leave it at that: HTML <div id="problema"> <div id="verificar" style="width: 500px; height: 100px;"> <h1 style=" clear: both;position: relative;…
-
3
votes3
answers1758
viewsDo I need to insert an HTML tag with jQuery to encapsulate the code below?
How to insert an HTML element after opening and before closing the jQuery tag? That within a each: $("#main_div").append('<div class="Ftitulo">'+item.titulo+'</div>')…
-
3
votes1
answer295
viewsDiv with superior z-index cancels another div with lower z-indez
I have 2 Divs. The first has z-index 1 and position Fixed. The second div has z-index 2 and position relative. The second div has a very extensive content and among the contents, there is a blank…
-
3
votes1
answer953
viewsHow do I leave a dash item in the middle? With <del>?
I wonder how I do to use the <del> in a menu, that when clicking on it it gets the dash in the middle ("strikethrough") and without the mouse over function. only the arrow.
-
3
votes1
answer129
viewsjQuery external page Toggle effect via require or include PHP
I’m creating a user menu, it stays on a page the part that is incorporated to other pages like index and home for example. It assumes the role of a widget that is only shown if there is session…
-
3
votes2
answers1347
viewsHow to create a fixed link in wordpress?
I am implementing a site in html static for wordpress, are not all pages that need the cms to manage the content, my problem is the following! I cannot create a Menu link to a static page or any…
-
3
votes1
answer1265
viewsRemoving columns from a <table> via Javascript
My web page is powered by database data and has a report format, with data inserted into an html table. The point is that the database has tables with many columns, which sometimes make the page…
-
3
votes2
answers1694
viewsCheck fields when giving Ubmit and if error return to field
I have a very long form and would like to click on Ubmit and the field is in error, that the page can scroll (jQuery) to this field so that the person knows exactly what is wrong. I started out that…
-
3
votes3
answers1380
viewsSwitch page time transition
I have an HTML code and I need to make a transition (fade) when I enter another page through the HTML menu I have. The problem is that I’m not able to make this transition. I need to do something…
-
3
votes2
answers3226
viewsRun script in a <div>
I own this script. What should I add to it so that when it is executed, it appears in a <div>? Here is the script: // Which flash versions are needed for given format var FLASH_VERSIONS = {…
-
3
votes3
answers13183
viewsHOVER effect on a <li> and the components within it
Good morning, everyone! I have <li> in my project, I would like very much to use an image on the right side of my <li>, did so: <ul> <li id="sair">Sair<div…
-
3
votes1
answer367
viewsHow to make Footer stay in the footer after using AJAX?
I have done several applications and always used the method below to regulate the height of footer. Always using Bootstrap. HTML <div id="footer"> <div class="navbar…
-
3
votes1
answer1370
viewsGet value from a <table> Row if checkbox is checked
I have the following table which is built from a database entity. HTML: <table class="table table-hover" id="produtostab"> <thead> <tr> <th>Descrição</th>…
-
3
votes4
answers685
viewsEffect with jQuery locking without reason
I am using the following jQuery command: var timer1; SemConflito("#lp-1").on('mouseover', function(){ clearTimeout(timer1); timer1 = setTimeout(function(){…
-
3
votes1
answer119
viewsSorted list with next element on the right when it does not fit
I am creating a menu where I will have several buttons. To align the buttons I use a simple ordered list. I want to know if there is any way that, when no more buttons fit within the maximum height…
-
3
votes1
answer220
viewsPass HTML element in Jade variable
Below I have a call from a include to an "Alert", I wonder if it is possible within the message variable not to pass pure HTML () and yes a call #[Strong Well done! ] which is most common within the…
-
3
votes2
answers275
viewsMount html by c#
I believe you have a better way of doing this, because when I did it made perfect sense now I don’t mean anything else, so it gets very confusing: I have A field in the table that stores the…
-
3
votes3
answers1211
viewsHow to modify form fields if user input is invalid compared to regular expression with Jquery
Guys, I have the following form: <!DOCTYPE html> <html> <body> <form action="enviar.php" method="post" accept-charset="utf-8"> <label>Nome<br> <input…
-
3
votes2
answers5270
viewsBackground image does not appear in div without content
I am creating an empty div with a background image. But when I render the site, the div does not appear. I believe that the mistake happens because there is no content in the div. In this case how…
-
3
votes2
answers1567
viewsHTML code color inside string in Phpstorm
When I insert an echo or a PHP variable receiving a string with HTML code, Phpstorm does not stay in the default color that would be all yellow, as in Sublime for example, and this ends up confusing…
-
3
votes1
answer144
viewsHow to detect which swf was loaded
I wonder if it is possible to detect when swf is loaded: Follow the code: <object id="teste" name="teste" type="application/x-shockwave-flash" data="120x600.swf" width="550" height="400"…
-
3
votes6
answers1855
viewsHow to create link with Hover showing strokes on the sides
What I wish to do I want to create a menu and for each link I want to apply an effect "Hover". When the user hovers the mouse will be shown strokes to the sides of the link. Image Example Follows…
-
3
votes3
answers140
viewsSort images by height of each one
I have a list of images with different dimensions. I wanted the images to be sorted from the smallest to the largest: the one that has height the minor was first and the height longer last. Using…
-
3
votes3
answers936
viewsHTML Helpers in ASP.NET MVC 4
I saw some HTML Helpers like this: @Html.LabelFor(x => x) and @Html.LabelFor(model => model.Propriedade), however, I do not understand this parameter that I must pass, x => x, what is this?…
-
3
votes3
answers648
viewsHow to hide the tooltip created by the Title attribute?
There’s a way to hide the tooltip created by Title while holding the mouse over the IMG, through CSS or Javascript?
-
3
votes2
answers275
viewsMulti-level in an OL
I’m trying to get the following result: Presentation 1.1. Content 1.2. Programming 1.2.1. JAVA 1.2.2. DOTNET Completion 2.1. Acknowledgements 2.1.1 Family 2.1.2. Teachers End Through the following…
-
3
votes1
answer272
viewsWeb server that receives and sends parameters to C#, is it possible?
I developed a software in C# (.NET) that sends/receives text files to an FTP server, but for security I look to work only with type parameters String/Bytes for security reasons, my question is:…
-
3
votes2
answers616
views"Convert" an HTML list to Mysql with PHP
I have a large list in HTML with about 106000 lines of code. Where these lines are records and these records are subdivided into: 6 lines of information about a game (As name and year of…
-
3
votes2
answers1985
viewsClone data insertion box from with jQuery
I wanted to make it work with js(jQuery) the interface below: I am using the CSS Foundation framework to develop this project. However, I don’t know how to make a clone using the jQuery of this…
-
3
votes2
answers1762
viewsPass JSP model to Springmvc controller
Could someone please explain to me how to correct my JSP error? This form will serve to register products in my system, it receives a list of product categories from the database. My Product…