Answer:
There is an error in "String s=s1-s2 ";
Explanation:
In java programming, we can subtract subtract two strings variable with "-" operator.Java programming does not support an overload of the '-' operator.In java, we can use only "+" operator to append two strings variable.There is no such method to subtract strings in java.Therefore in the given code String s=s1-s2 will give an "bad operand type" error because we can not subtract one string variable from the second string variable.
Answer:
Tags can be identified as they are written as <tagname> Something </tagname>
<tagname> this tag is called start tag.
</tagname> this tag is called as end tag.
for ex:<p> This is a paragraph </p>
There are some elements with no end tag.for ex:- <br> tag.
Attributes are used to provide additional information to an HTML element.
Every element can have attributes.
for Ex:- <h1 style="background-color:red";>MY WEBSITE </h1>
So the background of h1 will become red.