Example Explained The text between html and html describes the web page The

Example explained the text between html and html

This preview shows page 28 - 32 out of 54 pages.

Example Explained The text between <html> and </html> describes the web page The text between <body> and </body> is the visible page content The text between <h1> and </h1> is displayed as a heading The text between <p> and </p> is displayed as a paragraph HTML Attributes Most HTML elements have can have attributes Attributes provide addition information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name=”value” Attribute Example HTML links are defined with the <a> tag. The link address is specified in the href attribute : Example <a href=”is a link</a> 13 | P a g e
Image of page 28
Colors Values for BGCOLOR and COLOR All colors can be specified as a six hexadecimal value: RRGGBB FF0000 – red 888888 – gray 004400 – dark green FFFF00 – yellow 00AEFF – sky blue HTML Image Code <img src=”C:\Users\User\Pictures\Saved Pictures\Apple.jpg”/> Image Height and Width Attributes <img src=”Apple.jpg” height =”50” width =”50”/> HTML TAGS Basic HTML Tags for Beginners Tags Description <html> Defines an HTML document <body> Defines the document's body <h1> to <h6> Defines HTML headings <h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> <p> Defines a paragraph <p>This is some text in a 14 | P a g e
Image of page 29
paragraph.</p> <p>This is some text in a paragraph.</p> <br /> Inserts a single line break This text contains<br />a line break. <hr /> Defines a horizontal line <p>This is some text.</p> <hr /> <p>This is some text.</p> <a> Defines an anchor <a href="">Visit W3Schools.com!</a> <tt> Defines teletype text <i> Defines italic text <b> Defines bold text <big> Defines big text <small> Defines small text <u> Deprecated. Defines underlined text <tt>Teletype text</tt> <i>Italic text</i> <b>Bold text</b> <big>Big text</big> <small>Small text</small> <u>underlined text</u> <em> Defines emphasized text <strong> Defines strong text <dfn> Defines a definition term <code> Defines computer code text Emphasized text Strong text Definition term Computer code text <em>Emphasized text</em> <strong>Strong text</strong> <dfn>Definition term</dfn> <code>Computer code text</code> <center> Deprecated. Defines centered text <center>This text will be centered.</center> <font> Deprecated. Defines font, color, and size for text 15 | P a g e
Image of page 30
<sub> Defines subscripted text <sup> Defines superscripted text <img/> Defines an image <img src="angry.gif" alt="Angry face" /> This is our team proposal Professional Practice Web Developing About We are students of Esoft Metro Campus. Following Higher National Diploma (HND) in Software Engineering from batch No: 80. This proposal is kindly for your concern for our event Training Program in Web Development. This program is supervised by our lecturer Dr. Dilina. This event is organized for an educational purpose under the subject of professional practice for the o/l students.
Image of page 31
Image of page 32

You've reached the end of your free preview.

Want to read all 54 pages?

  • Fall '18
  • Hermione Granger
  • CPD, Continuing Professional Development

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors