IST 561 Session2--Feb 2, 2009 Basic XHTML Concepts

Preview:

DESCRIPTION

Feb 2, 2009 presentation covering basic XHTML concepts for SUNY Albany IST 561 Internet and Information Access class

Citation preview

����������� �����������

� ����� ��� �������

���������

�� � ��� � �� ���� �!�"

� # $ �% &����'�(��'�)�����*�*� + �'�'�,�*����'����

� �-����'�+ �������� ��,�)

� ��+ �''��)�'-���*�������� ��,�)� ��+ �''��)�'-���*�������� ��,�)

� ��+ �''��)�'-�'('������� ��,�)

� .-��� �����*���)� ����'���'�)�

� �, ����/ -��� '��

� / ��� '��)�� ��,�)�� ���)�-�,����0�

������� �������

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> an opening tag.... page info goes here</html> a closing tag</html> a closing tag

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>

<head>.... Header info goes here</head><body>.... Body info goes here</body>

</html>

<h1>Heading Level 1</h1><h2>Heading Level 2</h2><h3>Heading Level 3</h3><h4>Heading Level 4</h4><h5>Heading Level 5</h5><h6>Heading Level 6</h6><h6>Heading Level 6</h6>

���� ���������� ������<dl>

<dt>IP</dt><dd>Internet Protocol</dd>

<dt>TCP</dt><dd>Transmission Control Protocol</dd><dd>Transmission Control Protocol</dd>

</dl>

���� �� �����������

<ol><li>Apply to school</li><li>Register for course</li><li>Pay tuition</li><li>Pay tuition</li><li>Attend course</li>

</ol>

���� ���� �����������

<ul><li>TCP</li><li>IP</li><li>HTTP</li><li>HTTP</li><li>FTP</li>

</ul>

������

� 1. Can you describe the features of a heading tag and how it configures the text?

� 2. Can you describe the difference between ordered lists and unordered lists?lists and unordered lists?

� 3. Can you describe the purpose of the blockquotetag?

/ -��� '������/ �*

1 �����������������2 �,�3

4������������������2�'3

5������������������2)'35������������������2)'3

2 2�+ ,3

2���,3

������ �

� Can you provide a reason for using logical style tags rather than physical style tags?

� Can you describe the purpose of special characters?

28

29

30

������

1. Can you describe when to use an absolute link? Is the http protocol used in the hrefvalue?

2. Can you describe when to use a relative 2. Can you describe when to use a relative link? Is the http protocol used in the hrefvalue?

3. What happens when a web site visitor clicks on an e-mail link?

31

�� � ��

� 6��� ����'��* '����'��$ �% &���*�'-�'�����'����'��# $ �% &

� ���'�+ �������� ��,�)� ���'�+ �������� ��,�)

� ��'��* *���������*���� 0��!�����+ �''��)

� *+ ���'��'*�'-�# $ �% &�' -��7 �� �*�'�� ��'�-�,����0��

� 8� �� ���� ��'-���0������!����*��!���)��������� � ��'�� ��,�)��