Questions tagged as 'html'

1
answer

Divs side by side header

I want to put the divs all in the heading with relative position to adapt in all resolutions. It did not work to use float in the divs. <!doctype html> <html> <head> <meta charset="utf-8"> <title>Farra Certa</t...
asked by 09.10.2016 / 00:09
2
answers

How to make an HTML field mandatory?

I need to validate the comments form, that is, only save if there is text insertion, the form is not mandatory in the form today. I've tried using the JQuery validation plugin , but I have not gotten any use how to use it. I want to leave the f...
asked by 18.10.2016 / 13:31
3
answers

css select only first level

I have a menu with up to 3 levels of nested lists. I need to select only the first level text and ignore the nested content. I tried to use .menu > ul> li {} (and some variations of it) and it did not work out what I needed. I tr...
asked by 05.10.2016 / 19:28
1
answer

How to send data with JS? no page refresh

I'm trying to create an HTML Game and need a way to send data to a database (MYSQL) and would like to know how I can send site data to a server without the page refreshing. If anyone knows some libraries I can use to develop a 2D game in html...
asked by 21.11.2017 / 04:18
1
answer

HTML and CSS - Center Tabs to the center of the page

It's a newbie question, but I'm having this difficulty. I have 3 tabs that look like this: ButI'dlikeyoutostayinthecenterlikethis: Alsoinsteadoftext,Iwouldliketoputimages.MyCSSforthetabslookslikethis:/*Stylethetab*/div.tab{overflow:hidden...
asked by 19.11.2017 / 17:14
1
answer

Div with automatic height dropdown menu

Hello, my question is this. let's suppose this code <div> <a>teste</a> <a>teste</a> <a>teste</a> <a>teste</a> </div> This div is displayed when hovering a mouse, so h...
asked by 15.09.2016 / 15:35
1
answer

How do I get the value of a select and fill in an input?

<?php$con=mysql_connect("localhost","root","") or die("Failed to connect with database!!!!"); mysql_select_db("bancoteste", $con); $sth = mysql_query("SELECT * FROM pessoa"); ?> <!DOCTYPE html> <html> <hea...
asked by 01.07.2016 / 03:28
1
answer

How to define a favicon? Is it mandatory to set it?

There are certain things that, by not doing constantly, I always forget how to do it. And one of them is setting favicon to my site. What tags and attributes should I use to correctly define a favicon on my site? (I always forget, but...
asked by 27.01.2017 / 17:00
1
answer

How to make a circle-shaped audio player that calculates the time around you?

So I saw a player on a website: link and wanted to know how I can make a similar one.     
asked by 07.05.2016 / 09:41
1
answer

Change Bootstrap navbar theme

Hello, I searched a lot on the internet for a method that I could change to Bootstrap's navbar theme at the click of a button. Navbar when the user visited the site: Whentheuserclicksthebutton: Thank you in advance.     
asked by 30.04.2016 / 07:48