Platzieren Sie ein -Tag im HTML--TagPython

Python-Programme
Anonymous
 Platzieren Sie ein -Tag im HTML--Tag

Post by Anonymous »

Mit Dash weiß ich, wie man -Tags im Abschnitt platziert. Jetzt möchte ich dort -Tags platzieren. Wie geht's?

Code: Select all

from dash import Dash, html

app = Dash(
__name__,
meta_tags= [
dict(name = 'description', content = 'Description of the site'),
{'http-equiv':'content-language', 'content':'pt-br'},
{'http-equiv':'Link', 'content':""";rel="canonical\""""},
]
)

app.layout = [
html.Header(
html.Link(href='https://example.com',rel='canonical')
),
html.P('Some text')
]

if __name__ == '__main__':
app.run(debug=True)
Das bekomme ich:
Image

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • Platzieren Sie ein -Tag im HTML--Tag
    by Anonymous » » in Python
    0 Replies
    0 Views
    Last post by Anonymous
  • Platzieren Sie ein -Tag im HTML--Tag
    by Anonymous » » in HTML
    0 Replies
    0 Views
    Last post by Anonymous
  • BasicTextField Cursor bewegt sich nach dem Platzieren zufällig nach dem Platzieren
    by Anonymous » » in Android
    0 Replies
    41 Views
    Last post by Anonymous
  • Warum können Sie keinen -Inhalt in das -Element einfügen?
    by Guest » » in HTML
    0 Replies
    39 Views
    Last post by Guest
  • Exportieren Sie in Excel Head Row -Formatfilter
    by Anonymous » » in C#
    0 Replies
    48 Views
    Last post by Anonymous