1 / 13

S kills : adding attributes to HTML tags C oncepts : tag, attribute, value

Attributes of HTML tags. S kills : adding attributes to HTML tags C oncepts : tag, attribute, value . This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License. . Where does this topic fit?. Internet concepts Applications Technology Implications

vance
Download Presentation

S kills : adding attributes to HTML tags C oncepts : tag, attribute, value

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Attributes of HTML tags Skills: adding attributes to HTML tags Concepts: tag, attribute, value This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

  2. Where does this topic fit? • Internet concepts • Applications • Technology • Implications • Internet skills • Application development (Web) • Content creation • User skills

  3. The h1 tag <h1>This is a large heading</h1>

  4. Align = right <h1 align = “right”>This is a large heading</h1> How could I move the heading to the center of the window?

  5. Align = center <h1 align = “center”>This is a large heading</h1>

  6. Align = left <h1>This is a large heading</h1>

  7. name = "value" <h1 align = “center”> tag attribute value

  8. Attributes have default values What is the default value for the align attribute of the H1 tag?

  9. A tag may have several attributes <hr color = “blue” size =“10” width =“100” />

  10. A reference site http://www.w3schools.com/

  11. Summary <h1 align = “center”> tag attribute value

  12. Self-study questions What are the allowable values of the align attribute of the h1 tag? What is the default value of the align attribute of the h1 tag? (In other words, what is the value if the align attribute is left off)? What are the allowable values of the widthattribute of the horizontal rule (<hr>) tag? How does the value of the width attribute affect the appearance of the horizontal rule? The size attribute? What is the default value of the align attribute of the <hr> tag? Does the order of the attributes within a tag make a difference? What happens if I misspell the name of an attribute? What happens if I misspell an attributes value? Is Width a tag, an attribute or a value? Is <hr /> a tag, an attribute or a value? Is Red a tag, an attribute or a value? Use the three terms tag, attribute and value in a sentence?

  13. Resource W3 schools reference site: http://www.w3schools.com/html

More Related