From bd8984d688087507608d1ed19acb7f9a7653fcdb Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 26 Feb 2018 10:41:13 -0500 Subject: [PATCH] Update README.rst --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index 5355075..41f3491 100644 --- a/README.rst +++ b/README.rst @@ -71,6 +71,15 @@ Introspect an Element's attributes: >>> about.attrs {'id': 'about', 'class': ('tier-1', 'element-1'), 'aria-haspopup': 'true'} + +Render out an Element's HTML: + +.. code-block:: pycon + + >>> about.html + '
  • \nAbout\n\n
  • ' + + Select Elements within Elements: