Complex Scripts* in Internet Explorer 5.0 *and Multilingual text F. Avery Bishop Senior Program Manager Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Introduction to HTML
Advertisements

The creation of "Yaolan.com" A Site for Pre-natal and Parenting Education in Chinese by James Caldwell DAE Interactive Marketing a Web Connection Company.
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
HTML. The World Wide Web Protocols Addresses HTML.
Teppo Räisänen LIIKE/OAMK 2010
< REVIEW > How HTML looks like (Overview)? Page title here Main page content comes here.
Languages for Dynamic Web Documents
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
1 Chapter 12 Working With Access 2000 on the Internet.
Mark Dixon, SoCCE SOFT 131Page 1 20 – Web applications: HTML and Client-side code.
CIS101 Introduction to Computing
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
ETT 429 Spring 2007 Web Design I.
Microsoft Office XP Illustrated Introductory, Enhanced Office Applications with Internet Explorer Integrating.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Agenda: Guidelines for Supporting Complex Scripts* on Windows 2000  Key Concepts  Overview of Unicode  Migrating existing applications  Using Unicode.
Basics of HTML Shashanka Rao. Learning Objectives 1. HTML Overview 2. Head, Body, Title and Meta Elements 3.Heading, Paragraph Elements and Special Characters.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
Multimedia and Web Technology Prepared by: Asst. Prof. Maryam Eskandari.
4.1 JavaScript Introduction
CSE3310: Web training A JumpStart for Project.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Web Design ITM 2010 Tutorial 1 Prepared by Wang Shiyu.
Web Pages I Jeffrey Muday Department of Biology Wake Forest University.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
HTML Basic I IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Computing Theory: HTML Year 11. Lesson Objective You will: o Be able to define what HTML is - ALL o Be able to write HTML code to create your own web.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Tutorial 10 by Sam ine1020 Introduction to Internet Engineering 1 Database & Server-side Scripting Tutorial 10.
Web Design-Lecture1-QN-2003 Web Design Web Design Using HTML.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
Lesson13. JavaScript JavaScript is an interpreted language, designed to function within a web browser. It can also be used on the server.
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
Data Files on Computers Text Files (ASCII) Files that can be created by typing on the keyboard while using a text editor such as notepad or TextEdit.
44238: Dynamic Web-site Development Client Side Programming Ian Perry Room:C48 Extension:7287
Web Application Programming Presented by: Mehwish Shafiq.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
Cascading Style Sheets CSS. Source W3Schools
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
Web Programming Introduction to Web Technology HTML & Dynamic web content.
ASP Syntax Y.-H. Chen International College Ming-Chuan University Fall, 2004.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
Introduction lab1. Suzanne J. Sultan 2 What is HTML? The definition of HTML is Hyper Text Markup Language. HTML is a computer language devised to allow.
Creating Your 1 st Web Page. Tags Refers to anything between on a webpage Most appear in pairs surrounding content Some appear as empty tags (no closing.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Web Engineering Hypertext Markup Language(HTML)  Bscshelp.com Indus International Institute D G khan 1.
HTML Basic IST 210: Organization of Data IST2101.
XP Creating Web Pages with Microsoft Office
Getting Started With HTML
Introduction to ASP By “FlyingBono” 2009_01 By FlyingBono 2009_01
The need for server pages
Presentation transcript:

Complex Scripts* in Internet Explorer 5.0 *and Multilingual text F. Avery Bishop Senior Program Manager Microsoft Corporation

Agenda: Using Complex Scripts such as Arabic in Web pages  Single Binary Internet Explorer 5.0  UTF-8: Recommended encoding for multilingual HTML design  Font embedding for universal display of Arabic pages  Displaying Arabic pages with dynamic HTML  Accessing Unicode data from web page with SQL Server 7.0

Internet Explorer 5.0 on Win32 Platforms  Displays complex scripts (e.g., Arabic) on all language platforms  Supports complex scripts in Document Object Model

Encodings for Multi-lingual Text in Web Pages  Raw Unicode OK for intranet on Windows NT networks OK for intranet on Windows NT networks Not good for internet pages Not good for internet pages  Number entities, e.g., &#2325 OK for occasional use, e.g., inserting characters not in the main script of page OK for occasional use, e.g., inserting characters not in the main script of page Not good for large documents Not good for large documents  UTF-8 – Recommended encoding Works just about everywhere Works just about everywhere Supported by IE 4.0+, Netscape 4.0+ Supported by IE 4.0+, Netscape 4.0+

Creating UTF-8 Webpages  Use charset=UTF-8 in META tag  Save HTML page as UTF-8 using notepad, Word, etc.  Saving as UTF-8 in Word: Select File/Save As WebPage/Tools Select File/Save As WebPage/Tools Select Web Options/Encoding Select Web Options/Encoding Change charset designation to UTF-8 Change charset designation to UTF-8

Embedded Fonts in Web Pages  Downloadable fonts used only in web pages  Deleted when page is closed  WEFT tool Creates embedded font from TTF file Creates embedded font from TTF file Saves download time/space by using only those glyphs required for the page Saves download time/space by using only those glyphs required for the page  On Microsoft website, see workshop/author/fontembed/font_embed.asp workshop/author/fontembed/font_embed.asp

Introduction to DHTML  Based on Document Object Model Objects in HTML document Objects in HTML document Text in objects including titles, headers, etc Text in objects including titles, headers, etc Attributes such as font, color, etc Attributes such as font, color, etc Are accessible via scripts, e.g., JScript or VBScript Are accessible via scripts, e.g., JScript or VBScript Supported in IE 4.0+ Supported in IE 4.0+  See various documents under for overview

Examples of DHTML <H1 id=Head1 style=“font-weight: normal” onmouseover = “makeitalic() ;” onmouseover = “makeitalic() ;” onmouseout = “makenormal() ;” > onmouseout = “makenormal() ;” > Sample Dynamic HTML Sample Dynamic HTML function makeItalic() { function makeItalic() { Head1.style.fontstyle = “Italic” ; } function makeNormal() { Head1.style.fontstyle = “Normal” ; }</script> Heading tag Jscript functions that change style of heading text

Using BiDi Text (e.g., Arabic and Hebrew) in DHTML  Use same design rules as static HTML Mark encoding with charset value Mark encoding with charset value Encode in UTF-8 or an Arabic or Hebrew charset Encode in UTF-8 or an Arabic or Hebrew charset Use embedded fonts if needed Use embedded fonts if needed  Use DIR attribute inside tags: HTML: HTML: DHTML object: document.dir = "RTL" DHTML object: document.dir = "RTL"

Unicode Support in SQL Server 7.0  Unicode datatypes in SQL Server 7.0 NCHAR NCHAR NVARCHAR NVARCHAR NTEXT NTEXT Indicate Unicode text by N’text’, in SQL queries: Indicate Unicode text by N’text’, in SQL queries: create table myTable (col1 CHAR(8), col2 NCHAR(8)) insert into myTable (col1,col2) (‘Japan’, N‘ 日本 ')  Utilities for entering/retrieving Unicode data: Query Analyzer Query Analyzer Data Transformation Services Data Transformation Services Client application using ODBC Client application using ODBC

Accessing SQL Server 7.0 Unicode Data through ASP Webpages  Use standard encodings: UTF-8 in web pages UTF-8 in web pages Unicode in SQL Server 7.0 Unicode in SQL Server 7.0  Access data through Jscript/ODBC  Jscript automatically translates Unicode to current codepage in web page Defaults to system codepage Defaults to system codepage Specify UTF-8 “codepage” using: Specify UTF-8 “codepage” using: // Scope=session // Scope=session // Scope=page // Scope=page