Which code opens HEC's website in a new tab?
- <a src="https://www.hec.gov.pk"HEC</a
- <a href="https://www.hec.gov.pk" target="blank"HEC</a
- <link href="hec"HEC</link
- <a href="https://www.hec.gov.pk" target="self"HEC</a
Answer
B) <a href="https://www.hec.gov.pk" target="blank"HEC</a
blank opens a new tab.
Computer Science MCQ · More Lab: HTML Web Pages MCQs · Practise