text config(font=('courier' 'normal')text config(width= height= text pack(expand=yesfill=bothtext insert(end'this is\ \nthe meaning\ \nof life \ \ 'embed windows and photos btn button(texttext='spam'command=lambdahello( )btn pack(text window_create(endwindow=btntext insert(end'\ \ 'img photoimage(file=/gifs/pythonpowered gif'text image_create(endimage=imgset font for all insert six lines embed button embed photo apply tags to substrings text tag_add('demo'' '' 'tag 'istext tag_add('demo'' '' 'tag 'thetext tag_add('demo'' '' 'tag 'lifetext tag_config('demo'background='purple'change colors in tag text tag_config('demo'foreground='white'not called bg/fg here text tag_config('demo'font=('times' 'underline')change font in tag text tag_bind('demo'''hellobind events in tag root mainloop(figure - text tags in action such embedding and tag tools could ultimately be used to render web page in factpython' standard html parser html parser module can help automate web page gui text