Markup languages.docx

6 Pages
122 Views
Unlock Document

Department
Computer Science
Course
Computer Science 1032A/B
Professor
Diane Goldstein
Semester
Winter

Description
Markup Languages HTML  HTML – hyper text markup language  Internet Protocols: Email – SMTP used when we transfer and send emails, File transfer – FTP (file transfer protocol), HTTP – hyper text transfer protocol *HTML  E-Commerce – 3-tier architecture: User (web browser) via HTTP – server tier – database (contains info about products and prices etc) use SQL language (user requests server – database responds) Encoded HTML  Tag used to define element  Hyperlinks point to other web pages  Heading provides data about page  Body contains content  Transmitted by web servers  Used by browsers  Processes HTTP protocol Markup language  Annotations to text – instructions on how text is to be displayed  Types o Presentational o Procedural o Descriptive – GML/SGML, HTML/XHTML, XML  First markup language of the WWW  Used to deliver content on web  Open standard, readability, ease of use and portability Structure of HTML file  Content – anything that is not an instruction  Instructions (tags)  Tags appear in pairs surrounding the content  Start – indicated with angle brackets <>, ending – indicated with a slash after opening bracket, not case sensitive Document tags  Every HTML (enclosed in HTML tags)  head tag containing browser information  body which contains content and associated presentation Title tag  Basic HTML structure....  6 heading levels – H1, H2, H3... H6 – H1 is the largest, H6 is the smallest  Enclose the text between the opening and closing tags for the heading level My webpage Tags  italic, bold, underline  center the text, new paragraph, break, start a new line, horizontal rule, draw a line  image tag, SRC – to indicate source Anchor  - allows you to link to another webpage (hyperlink)  Bookmark – named location within, invisible to the reader  HREF specifies the URL (uniform resource locator)  Content inside the anchor tag – displayed, when selected activates the link, by default is blue and underlined  information - link  - picture as a link  As bookmarks – move in between our own webpage, got to the top, go to chapter one etc.  viewers can’t see this – it acts as a destination  Link on the same page - information  Link to another page - information Tables   Attribute: border – controls the width, normal is 1  Tables declared one row at a time o Enclosed in o Cells specified with  Row 1, Cell 1Row1, Cell 2Row 2, Cell 1Row 2 Cell 2 Lists  Ordered o marked with numbers/letters o o list item tag indicates the item on the list o Numbered list by default 1, 2, 3, 4... o TYPE controls the list numbers/letters: “A” uppercase, “a” lowercase, “I” roman numerals ,”i” lower case roman o , Sunday, Monday, Tuesday,  Unordered o basic list, default gives you a bullet o o Use the command again o TYPE – disc, circle, square (type of bullet)  Nest lists – place an additional within an existing list Create an HTML file  Open notepad type HTML code  Save as HTML and open in Internet Explorer file, open, browse, locate and open HTML file  Publishing allows others to see it  View, source to view other webpage sources  Word can be saved as HTML, Dreamweaver and Frontpage, text editor (notepad) Publish the webpage at Western  Activate personal web space  http://www.uwo.ca/its/accounting/AcitvatePublish.html  Using S-FTP o Log into panther.uwo.ca and set access permissions o Go to “public_html” directory o Browse to find web pages and graphics o Copy files to “public_html”  Test your webpage – in browser go to http://publish.uwo.ca/~danger/danger_webpage1.html
More Less

Related notes for Computer Science 1032A/B

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit