Title Text Goes Here



Download 2.8 Mb.
View original pdf
Page20/37
Date16.06.2022
Size2.8 Mb.
#59010
1   ...   16   17   18   19   20   21   22   23   ...   37
com-225-web-technology-theory

to


Defines header 1 to header 6 Defines a paragraph Inserts a single line break


Defines a horizontal rule Defines a comment


HTML Attributes
Attributes provide additional information to an HTML
element.
HTML Tag Attributes
HTML tags can have attributes.
Attributes provide additional information to an HTML element. Attributes always come in name/value pairs like this name="value". Attributes are always specified in the start tag of an HTML element.
Use Lowercase Attributes
Attributes and attribute values are case-insensitive. However, the World Wide Web Consortium (WC) recommends lowercase attributes/attribute values in their HTML 4 recommendation, and
XHTML demands lowercase attributes/attribute values.
Always Quote Attribute Values
Attribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. In some rare situations, like when the attribute value itself contains quotes, it is necessary to use single quotes name 'NBTE "Unesco" Nigeria'

TYPE THE DOCUMENT TITLE
37
Practice We may demonstrate the Attribute Values by reformatting our project i.e. “Mypage” as follows.

This is the Main heading


This is the Subheading h bgcolor="yellow">
Its fun to know the basics of webpage and to have used the little I have learnt to create a simple but fascinating web page. Thanks to all that have contributed in one way or the other for the development of this material. It should look as below in the editor

When run on the browser it appear as below
Text Alignments
Text can be Aligned Left, Centre or Right. Any of these will take the form of the Centre alignment as presented above


TYPE THE DOCUMENT TITLE
38

Download 2.8 Mb.

Share with your friends:
1   ...   16   17   18   19   20   21   22   23   ...   37




The database is protected by copyright ©ininet.org 2024
send message

    Main page