Tasks studies - laboratory
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<television_stations>
<station>
<name language="Polish">TVP</name>
<employees>2000 people</employees>
<year_founded>1950</year_founded>
</station>
<stacja>
<name language="Polish">TVN</name>
<employees>1000</employees>
<year_founded>1995</year_founded>
</stacja>
<stacja>
<name language="Polish">Polsat</name>
<employees>1000</employees>
<year_founded>1900</year_founded>
</stacja>
</television_stations>
title, author’s name and surname, publisher’s name and the book’s release date. Check the correctness of the created document in the browser.
Define the appropriate function for this purpose, two paragraphs with text (two <P>
tags) and two buttons. After clicking the first button, the text contained in paragraph 1 will change, after clicking the second button, the text contained in paragraph 2 will change. The texts in the first and second paragraphs should differ both in the initial form and after the change.