Skip to main content

Questions tagged [meta]

Meta elements are the HTML or XHTML <meta … > element used to provide structured metadata about a Web page. DO NOT USE this tag for questions about Stack Overflow; post these on meta.stackoverflow.com instead.

meta
0 votes
2 answers
1k views

UTF-8 Characters Not Displaying Correctly

I am trying to echo some utf-8 characters with PHP. But They Didn't Display Correctly. Here Is The Code With Php.<?php echo "➨៚ ⃟⃢⌽⍲ͥនͣн⃟ᨖᴋ⃟ɨиɢⷨ⌽ ⃟⃢☬࿐ is your symbolic id"; ?> Also, I ...
Kitty K Fabby's user avatar
5 votes
1 answer
4k views

Refresh page when active tab

Currently in my page I am using this to refresh the page each minute: <head> ... <meta http-equiv="refresh" content="60" /> ... </head> How instead, I want to ...
Anefi3's user avatar
  • 51
0 votes
1 answer
558 views

DJANGO - class Meta / varibales db_table

I would like to get a variable in my meta class class Meta: abstract = True db_table = 'bikes_table' managed = False I want to get a variable from self like above : ...
betty's user avatar
  • 59
1 vote
1 answer
1k views

peewee - change schema dynamically

I have the same question/problem than this post -> peewee - modify db model meta (e.g. schema) dynamically . I want to change the schema field in my Meta class dynamically. This is my code: class ...
dtamab's user avatar
  • 85
3 votes
1 answer
2k views

Does setting meta tags in Javascript work without server side rendering?

I am developing a single page application and each page should have different open graph meta tags. It seems that tools like react-helmet just use Javascript functions like element.setAttribute to ...
Ryan Peschel's user avatar
  • 11.7k
0 votes
2 answers
147 views

Is it possible to have HTML titles and meta tags set with an Angular 8 component recognized by Googlebot without SSR?

My component uses setTitle and updateTag to update the title and tags. Remaining data on the screen is updated via template binding to an object obtained via a host request. Google search console ...
Tom Price's user avatar
  • 191
1 vote
1 answer
108 views

Wordpress | get_user_meta in child themes php file [closed]

I'm trying to get the user meta in a file calles "print.php" in my child-theme folder: define( 'WP_USE_THEMES', true ); $userid = $_GET['id']; //$all_meta = get_user_meta( $userid ); When ...
Niko's user avatar
  • 21
1 vote
2 answers
554 views

What is the use of lang attribute in HTML if we have defined the charset as utf-8

Why html lang="en" is required if we are defining meta charset="utf-8".I mean we have defined charset so what's the use of lang? What I understand from utf-8 is that it contains ...
koil's user avatar
  • 51
6 votes
1 answer
3k views

Force Internet Explorer to open a website in Edge [closed]

I just visited the apple.com website in the Internet Explorer and noticed, Internet Explorer opens the website directly in Edge and shows this page in the IE-window. I'd like to implement this to my ...
dagrega's user avatar
  • 171
0 votes
1 answer
996 views

How to save emoji on text input as &#128584; or &#x1f648; instead of \ud83d\ude48

I have a few forms that I need to be able to save emojis, and the emojis can be anywhere on a string. I can't seem to get unicode sequences to display as emojis. Currently, the forms call a javascript ...
Allaris's user avatar
2 votes
1 answer
9k views

Trouble with content security policy

So i have been trying to use a google programmable search engine script, but i am having trouble with the meta tag. The meta tag that i have included in my is as follows: <meta http-equiv="...
johan's user avatar
  • 31
0 votes
1 answer
189 views

Insert a post meta in the product with variable

I state that I am not an expert! My function modifies the visibility of the product based on the presence of the price. It works well with simple products, but not with products that have variables. ...
Miki Sax's user avatar
3 votes
1 answer
2k views

http-equiv redirect to another html page

I am trying to redirect a user on my html page to another html page automatically after three seconds, and I am trying with this code: <meta http-equiv="refresh" content="3; home....
Fredrik Cumlin's user avatar
0 votes
1 answer
23 views

Is it possible to add resourcekey to a asp:DynamicControl?

I can't figure out how to add a meta:resourcekey tag to an asp:DynamicControl control. Can someone help me? Here's a working example for a basic label: <asp:Label ID="Label1" runat=&...
Phil Richer's user avatar
0 votes
1 answer
116 views

Django: How to get proper numerical ordering for a slug field?

The slug field definition and the ordering of the model is depicted below. from models.py: class Ayah(models.Model): suraya = models.SlugField(max_length=8,unique=True) class Meta: ...
0tyranny0poverty's user avatar

15 30 50 per page
1
2 3 4 5
93