Challenge: Text from HTML Elements
Swipe to start coding
You are given a web page. Complete the following tasks:
-
Print all the attributes of all the
<a>
elements. -
Print all the text of all the
<p>
elements.
Solution
Thanks for your feedback!