I was looking for meta tags for geolocation, to help search engines know that the information on my site refers to a specific city.
I found this site that generates the following tags for an address I typed:
<meta name="geo.region" con...
- I am extremely new to the subject and do not know much, I'm going from internet searches, videos and readings, I say this in case there is any unnecessary code or rule in my doubts p>
I would like some help in this situation:
I'm traini...
<script type="text/javascript">
$(function(){
$("#oformulario").submit(function(e){
e.preventDefault();
var nome = $("#nome").val();
var email = $("#email").val();
var obs = $("#obs").val();...
I'm trying to close a tab on my site, I've tried using the following commands:
window.open('','_self',''); window.close();
window.close()
self.close()
var win = window.open("","_self"); win.close();
wi...
I have a layout with a fixed menu on the left, the content of the page occupying the rest of the space and a footer also fixed:
* {
margin: 0;
padding: 0;
text-align: center;
}
nav {
z-index: 2;
width: 25%;
height: 10...
I have the form to send / work perfect with the other fields, but I can not receive the checkbox selections. I need help getting / manipulating in php:
HTML:
<div class="input-group">
<label for="servicos">NECESSITA EMBALAGE...
Is there a difference in creating HTML elements in javascript?
Example:
As String:
document.body.innerHTML += '<h1>foo</h1>';
And with createElement:
var elemento_pai = document.body;
var titulo = doc...
I have a page and I want to allow copying normally, but I would like specific elements not to be copied after using Ctrl + A and Ctrl + C , for example forms, navigation menus and banner ads.
This is because the content is usually what...
I have a one page site, where I have an external page with a menu, and the same one has to link the DIVS of my home (one page).
Example:
On my external page, clicking on the Videos menu, I'll go to Div from the One Page page.
When I try to li...