Skip to content

Commit

Permalink
feat Python Tkinter How To Use HTML In Your Tkinter App COMPLETE 1
Browse files Browse the repository at this point in the history
Python Tkinter How To Use HTML In Your Tkinter App COMPLETE 1

resolves: #
see also: #
  • Loading branch information
brian-emarquez committed Feb 15, 2021
1 parent d468484 commit eab1939
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
from tkinter import *
from tkhtmlview import HTMLLabel

root = Tk()
root.title("Python Tkinter How To Use HTML In Your Tkinter App")
root.iconbitmap("Python Tkinter How To Use HTML In Your Tkinter App/images/images.jpg")
root.geometry("500x600")


my_label = HTMLLabel(root, html="\
<h1>\
<a href='https://www.python.org/'>Download Python</a>\
</h1>\
<ul>\
<li>One </li>\
<li>Two </li>\
<li>three </li>\
</ul>\
<img src='https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTr9vl91PpaNrX7_EiOaWpTyftYzOFEiQixBA&usqp=CAU'> ")

my_label.pack(pady=20,
padx=20,
fill = "both",
expand=True)



Expand Down
10 changes: 10 additions & 0 deletions Python Tkinter How To Use HTML In Your Tkinter App/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,14 @@ pip install requests
_pip install pillow_
```
pip install pillow
```

_tkhtmlview 0.1.0.post1_

[https://pypi.org/project/tkhtmlview/]


_tkhtmlview_
```
pip install tkhtmlview
```

0 comments on commit eab1939

Please sign in to comment.