Professional Documents
Culture Documents
Web Engineering Lect 3 (HTML) : Instructor: Faheem Shaukat Meeting Hours Wednesday and Thursday 12PM To 02PM
Web Engineering Lect 3 (HTML) : Instructor: Faheem Shaukat Meeting Hours Wednesday and Thursday 12PM To 02PM
Lect 3 (HTML)
Instructor: Faheem Shaukat
Meeting Hours
Wednesday and Thursday
12PM to 02PM
• <body>
• <header>
• header element - Some header information goes here. Usually consists of company logo, some tag line, etc. Sometimes, navigation is contained in the header as well.
• <nav>nav (short for navigation) element - Usually contains links to different parts of the web site.</nav>
• </header>
• <section>
• Section 1
• <article>Article 1</article>
• <article>Article 2</article>
• <article>Article 3</article>
• </section>
• <section>
• Section 2
• <article>Article 4</article>
• <article>Article 5</article>
• <article>Article 6</article>
• </section>
• <aside>
• ASIDE - Some information that relates to the main topic, i.e., related posts.
• </aside>
• <footer>
• </footer>
• </body>
• <body>
• <h1>Unordered list</h1>
• <div>
•
• My typical dinner shopping list:
•
• Milk
• Donuts
• Cookies
• Chocolate
• Sugar
• Peanut Butter
• Pepto Bismol
•
• </div>
• </body>
• <body>
• <h1>Unordered list</h1>
• <div>
•
• My typical dinner shopping list:
• <ul>
• <li>Milk</li>
• <li>Donuts</li>
• <li>Cookies
• <ul>
• <li>Chocolate</li>
• <li>Sugar</li>
• <li>Peanut Butter</li>
• </ul>
• </li>
• <li>Pepto Bismol</li>
• </ul>
• </div>
• </body>
• <body>
• <h1>Ordered list</h1>
• <div>
• Oreo cookie eating procedure:
• <ol>
• <li>Open box</li>
• <li>Take out cookie</li>
• <li>Make a Double Oreo
• <ol>
• <li>Peel off the top part</li>
• <li>Place another cookie in the middle</li>
• <li>Put back the top part</li>
• </ol>
• </li>
• <li>Enjoy!</li>
• </ol>
• </div>
• </body>
• <body>
• <h1>Don't be afraid to be <then a 100% success & >more:</h1>
• <p>
• "It is not the critic who counts; not the man who points out how the strong man stumbles,
• or where the doer of deeds could have done them better. The credit belongs to the man who is
actually
• in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who errs, who
• comes short again and again, because there is no effort without error and shortcoming; but who does
• actually strive to do the deeds; who knows great enthusiasms, the great devotions; who spends
himself
• in a worthy cause; who at the best knows in the end the triumph of high achievement, and who at the
• worst, if he fails, at least fails while daring greatly, so that his place shall never be with those
• cold and timid souls who neither know victory nor defeat."
• </p>
• <p>Theodor Roosevelt 1910 Copyright</p>
• </body>
• <body>
• <h1>Don't be afraid to be <then a 100% success & >more:</h1>
• <p>
• "It is not the critic who counts; not the man who points out how the
strong man stumbles, or where the doer of deeds could have done them better.
The credit belongs to the man who is actually in the arena, whose face is marred
by dust and sweat and blood; who strives valiantly; who errs, who comes short
again and again, because there is no effort without error and shortcoming; but
who does actually strive to do the deeds; who knows great enthusiasms, the
great devotions; who spends himself in a worthy cause; who at the best knows in
the end the triumph of high achievement, and who at the worst, if he fails, at
least fails while daring greatly, so that his place shall never be with those cold
and timid souls who neither know victory nor defeat."
• </p>
• <p>Theodor Roosevelt 1910 © Copyright</p>
• </body>
• <body>
• <h1>Internal Links</h1>
• <section>
• We can link to a file in the same directory as this HTML file like this:
• <a href="same-directory.html" title="same dir link">Linking to a file in
the same directory</a>