BE 1200 Lecture 2 - BE 1200 Lecture 2 HTML Programming...

This preview shows page 1 out of 1 page.

BE 1200 Lecture 2 HTML Programming Hypertext markup language HTML program is set of paired tags <p>………</p> Tell compiler what type of program it is. DOCTYPE html PUBLIC Ex. <html> <head> <title>Welcome to BE 1200</title> </head> <body> <p> This is my first webpage </p> </body> </html> Simple Tags <p> treated as paragraph until next <p> or </p> <p><b> text in these tags is new paragraph in bold until </b> <i> italic until </i> <center> until </center> <h1> heading largest </h1> <h6> heading smallest </h6> Attributes <font face =”Arial”> appear Arial until </font> <font color =”ff0000”> text given by hexadecimal code ff0000 which is red until </font> <font color =”red”> another way to display red
Image of page 1

Unformatted text preview: until &lt;/font&gt; Font tag can have attributes of face, color, and size &lt;p&gt;&lt;font size =”7” color = “red” face = “Comic Sans MS”&gt; This is some text! &lt;/font&gt; Add Color to background &lt;body bgcolor=”#000000”&gt; Add textures and images &lt;body background=”brick007.jpg” Inserting links/open links in same window (a = anchor or link, href = hypertext reference) &lt;a href =”anotherpage.html”&gt; hyperlinked &lt;/a&gt; *PUT IT INTO FOLDER SO YOU ALWAYS HAVE IT* Inserting images &lt;img src=”bot.jpg” width=”1600” height =”1200”&gt; *THERE IS NO &lt;/img&gt;* • Src stands for Source. Width and Height are given in pixels Blank Space &lt;p&gt;&amp;nbsp Save it as .htm Final save as index.html...
View Full Document

  • Fall '09
  • markup language, Hypertext Markup Language, font color, Comic Sans MS

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