Macaulay2 » Documentation
Packages » Text » Hypertext » HypertextContainer » HTML
next | previous | forward | backward | up | index | toc

HTML -- hypertext item

Description

i1 : HTML { HEAD { TITLE "foo" }, BODY { "Hi there" } }

o1 = 

     Hi there
i2 : html oo

o2 = <!DOCTYPE html>
     <html lang="en">
       <head>
         <title>foo</title>
       </head>
       <body>
     Hi there  </body>

     </html>

See also

For the programmer

The object HTML is a markup type, with ancestor classes HypertextContainer < Hypertext < BasicList < Thing.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/Text.m2:217:0.