1.

How To Writethe Opening Tag Of An Xhtml Element?

Answer»

When you are WRITING an XHTML element, you must start with its opening tag, which contains the name of the element and attributes if needed. The opening tag is enclosed in a pair of angle brackets:"<" and">".

XHTML element names are PREDEFINED by the XHTML SPECIFICATION.

You can not make up your own tag names. Here are some good EXAMPLES ofXHTML element opening tags:

<html> - Opening tag of the html element.
<head> - Opening tag of the head element.
<title> - Opening tag of the title element.
<body> - Opening tag of the body element.
<p> - Opening tag of the p element.
<script> - Opening tag of the script element.

When you are writing an XHTML element, you must start with its opening tag, which contains the name of the element and attributes if needed. The opening tag is enclosed in a pair of angle brackets:"<" and">".

XHTML element names are predefined by the XHTML specification.

You can not make up your own tag names. Here are some good examples ofXHTML element opening tags:

<html> - Opening tag of the html element.
<head> - Opening tag of the head element.
<title> - Opening tag of the title element.
<body> - Opening tag of the body element.
<p> - Opening tag of the p element.
<script> - Opening tag of the script element.



Discussion

No Comment Found