Search
 
SCRIPT & CODE EXAMPLE
 

HTML

pyscript boilerplate

<!DOCTYPE html>
<html lang="en">
   <head>
      <meta charset="UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />
      <title>PyScript</title>

      <!-- styles and script dependencies -->
      <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
      <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
   </head>
   <body>
      <!-- title -->
      <h3>Testing python code in HTML</h3>

      <!-- python code -->
      <py-script> print('Now you can!') </py-script>
     
   </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: how to write python in html 
Html :: html check-box 
Html :: datatable pdfHtml5 pagesize 
Html :: predefine data list in input tag html 
Html :: how to get a division to be in centre of screen in responsive web page for screen of any size 
Html :: basic html code 
Html :: html enlace 
Html :: blankspace html 
Html :: check if javascript is enabled 
Html :: call modal by id href 
Html :: html strong 
Html :: open new tab anhor tag 
Html :: how to slow speed of marquee in html 
Html :: new line html 
Html :: Change color of calendar icon in HTML Date Input 
Html :: img on click html 
Html :: html escape quote in atribute 
Html :: html input datetime-local value from mysql date time 
Html :: set default selected option in select form laravel 
Html :: html multiplications 
Html :: Include HTML File in HTML FILE 
Html :: translate html text in magento 2 
Html :: how to get html code in selenium python 
Html :: html table two headers 
Html :: javascript remove the current tr with click 
Html :: how to go directly gmail using mailto html 
Html :: textarea html break line 
Html :: phone html 
Html :: inner text and inner html 
Html :: to centre each content in html 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =