Questions tagged [html-head]

The

element is a container for all the head elements, which must include a title for the document, and can include scripts, styles, meta information, and more.

The <head> element is a container for all the head elements, which must include a title for the document, and can include scripts, styles, meta information, and more. This tag is different from html-heading that identifies the <h1>, <h2>, etc. headings.

References:

91 questions
1
vote
3 answers

How to ask browser to cache files for future use

I have an app that is using some large libraries. There are almost 200 js and css files being loaded. And this is how it goes. First it loads 30 of them listed on first html. Than after running some. they trigger loading their own required files.…
chickens
  • 19,976
  • 6
  • 58
  • 55
1
vote
2 answers

Can one hook in wp_head inside other hook?

I have to add some scripts in the head part of our website whenever a login or registration of a user was successful. For the login and register forms we use the Ultimate Member plugin, which has a hook method um_user_login and um_user_register…
Vegaaaa
  • 474
  • 4
  • 22
1
vote
1 answer

How to Display Today's Date in PHP Header

Total beginner php question: I want to put today's date in the header or my website. In my header.php file I have the following code:
whs2k
  • 741
  • 2
  • 10
  • 19
1
vote
0 answers

how to remove previous js file from DOM

(function() { setTimeout(function(){ $('#core-notify').remove(); $('#yourDynamicGeneratedScript').remove(); $('#yourDynamicGeneratedScriptHtml').remove(); context = $("#context").val(); lid = …
1
vote
2 answers

How to create an icon for HTML?

How do I create an icon for my web page? Google has an icon: I already created an icon, but I want to add it to my web page. Please help me with this question (I tried to show the image, but I failed ).
Supercolbat
  • 311
  • 2
  • 8
  • 18
1
vote
2 answers

download limit of getting headers in php

Does php native function get_headers() downloads all the content, or stops downloading after getting header?
nerkn
  • 1,867
  • 1
  • 20
  • 36
1
vote
1 answer

Composite component causes warning "no 'head' component has been defined within the view"

I have a working JSF page, but if I add xmlns:leaf="http://java.sun.com/jsf/composite/jsf2leaf" to it, and try to use any ot its tags, like , I get the following warning: One or more resources have the…
Relan
  • 11
  • 2
1
vote
3 answers

Should The Meta Tag Go In A Style Tag

Does the meta tag need to be enclosed in a style tag (like CSS): Or is this good:
user5306470
1
vote
2 answers

One or multiple meta-tags?

I just realized I have two meta tags in my HTML head: Do both work when there are multiple? Should I merge them? Is it just as good…
radbyx
  • 9,352
  • 21
  • 84
  • 127
1
vote
0 answers

Unit Testing Meta Data - Java Script

I have meta data fields in certain pages that fill with something like this in the head of the html page: I have lots of meta data that is filled in, and I would like to have a JS unit test so I…
duebstep
  • 187
  • 1
  • 3
  • 13
1
vote
1 answer

Contents of head is repeated in body

I'm working on a project in Java EE with JSF and Primefaces. I'm also using Hibernate as a ORM framework. As I see it, Primefaces and Hibernate doesn't interfere, but I mention it so you can get the full picture. I have a login and a register page.…
Alvaro Pedraza
  • 1,176
  • 6
  • 20
  • 44
1
vote
1 answer

Adding schema.org tags to a site's header: how and which schema?

I have a website that provides transportation services, not products (with this I mean that we don't sell widgets of this brand, this other model...; we just provide one kind of transportation service). I'm a bit unclear about how should I add…
PaulJ
  • 1,646
  • 5
  • 33
  • 52
1
vote
4 answers

Where to put the tag in an ASP.NET solution?

I have an ASP.NET project whose page starts with: Online SMS Choose
user3432257
  • 415
  • 3
  • 10
  • 22
1
vote
3 answers

Insert code into using ASP.NET

I have some code that looks something like this: