Free Essay

Xhtml

In:

Submitted By zamouda1407
Words 301
Pages 2
Grand Toudeka 8/17/2014 CS102
Homework

* Short answer 1. 1) The file must be opened. If the file does not yet exist, opening it means creating it. 2) Data is written to the file or read from the file. 3) When the application is finished using the file, the file is closed 2. The close method writes any unsaved information remaining in the file buffer and releases memory allocated by the StreamWriter object. 3. Data is rad in forward-only direction. When the file is opened, its read position, the position of the next item to be read, is set to the first item in the file. As data is read, the read position advances through the file. 4. The WriteLine method writes the data to the file and then writes a newline character immediately after the data. The Write method can be used to write data to a file without terminating the line with a newline character. 5. An exception will occur. 6. If the current read position is at the end of the file, the method returns -1. 7. The ReadLine method returns the data as a string. 8. The Read method returns the integer code for the character. 9. When the Print method is called, it triggers a PrintPage event. PrintPage event handler, you can write code that sends text to the printer using a specified font and color at specified location. 10. If you use the Public access specifier, the structure is accessible to statements outside the class or module. If you use the private access specifier, the structure is accessible only to statements in the same class or module.

* What do you think? 1. This technique improves the system’s performance because writing data to meory is faster then writing it to a disk. 2.

Similar Documents

Free Essay

Book of Special Significance

...Essay – A book of special significance The book that has a special significance to me is “XML Bible” 2nd Edition by Elliotte Rusty Harold Deciding on the right book to study is mostly a matter of choice. Mili writes, It is always necessary to decide what books one should read. For selecting the best books we generally consult our teachers, librarians and our well read friends...We should read only the books that enlighten our mind and suggest accurate and authentic knowledge to the readers...(Book). I read the above book when I was in two minds whether to take classroom training in XML. I am glad now that I decided to study this book fully before anything else. The XML Bible is concise yet complete, elaborate yet accurate. It is multi-functional and works as a guide, tutorial, manual and reference book. The book is significant because it is both an invaluable resource and provides the much needed direction which is very much essential while trying to understand technology. I studied this book with the task of assimilating and applying the new documentation standard – XML. The book is credit- worthy because it explains XML and its applications authentically as well as informally steering the reader towards seeing XML everywhere in the digital world. “XML stands for Extensible Markup Language...XML is a meta-markup language” (Harold 3). “XML describes structure and semantics, not formatting” (Harold 5). Further, the author states that it is easy to...

Words: 336 - Pages: 2

Free Essay

Ec Assignmet 2

...January 21, 2014 CSIS 1010 EC Assignment 2 1. The basic idea of HTML came from one person’s ideas and thoughts and having another person add their ideas to it and so on and so forth. As most things that are invented and perfected. Html came about because someone wanted away to store all of their information including books, records, letters, and research results. Vannevar Bush wrote an article about a machine he called Memex that could do all of this. He was trying to use the skills that were learned from war in World War II and implement them into peacetime activities. After this idea other scientist and engineers started adding their input to the idea eventually ending up with Hypertext Markup Language. Markup tags are the basic fundamentals of HTML. Most markup tags come in pairs and are between commands in a webpage. Usually a text or a graphic are in between the two commands or markup tags. Markup tags are invisible though so you would never know that they are there. Parameters are included within the beginning command tag, placed before the second bracket that provide supplementary instructions such as color, size, location, ect. 2. HTML and XML are both markup languages. They both also use tags. They both are read by software. HTML describes attributes of text and XML does not. XML is like a data base. In XML a person has to create their own tags unlike HTML where it has a preset language. HTML also displays the data while XML does not. Anything that has pictures...

Words: 508 - Pages: 3

Premium Essay

The Model

...The Document Object Model (DOM) is an important part of creating animation and making web pages interactive. The Document Object Model is used with Dynamic HTML to help accomplish the interactive web pages that are used today. “Dynamic HTML(DHTML) refers to a combination of technologies that make Web pages dynamic…a combination of JavaScript, XHTML, CSS, and the Document Object Model” (Gosselin, 2008, pg. 485).     The Document object Model is all the HTML that is displayed on a web page from the web browser. Each of the many elements contained in the web page are considered objects and can be controlled and changed by using JavaScript. The Document Object Model gives you the ability to change these elements without the web page needed to be reloaded. The HTML DOM can be used to dynamically change the document object and to change and control elements like images, which can themselves be considered the image object. The Document object and the image object both contain methods and properties that can be used to dynamically change the web page.     The methods used with the document object are close, open, getElementById, getElementsByName, getElementsByTagName, write and writeIn. The open method creates a new window or a frame. The close method closes the document that was opened with the open method. The getElementById method retrieves an element by the specified ID. The getElementsByName method retrieves an array of elements that have a specific name. The getElementsByTagName...

Words: 286 - Pages: 2

Free Essay

Research

...Software for Enterprise Integration Over the years, it's became quite common to install different systems throughout various parts of a company. That wasn't such a big problem before the need for companies to work hand-in-hand with employees all over the world, customers, suppliers, and business partners that all had their own legacy system. Piecing together these information systems into an integrated whole can be a daunting task. But it's necessary for sharing information among all departments and managers in a company. Throwing out all the old hardware and software and starting from scratch may seem the easiest way to solve the problem. It's just not practical or cost-effective. There are several methods the digital firm can use to piece together its disparate systems. * Middleware: bridges the gap between separate systems and gives an organization a method of sharing information. Middleware is cheaper and easier to install than enterprise software. * Enterprise application software: unfortunately, this type of software is simply out of reach for smaller firms because of the cost, time required, and the technical expertise required to get it up and running. * Enterprise application integration software: allows a company to decide which systems it wants to tie together, how it wants to do it, and then generate the necessary program code to completely integrate the pieces into a cohesive unit. Web Services and Service-Oriented Architecture It's becoming...

Words: 909 - Pages: 4

Free Essay

Introducción a Xhtml

...INTRODUCCIÓN A XHTML JAVIER EGUILUZ LIBROSWEB Introducción a XHTML Javier Eguiluz Fecha publicación: 14/03/2013 Este libro fue publicado con la aplicación easybook (http://easybook-project.org) , una herramienta de software libre para la publicación de libros digitales. Licencia Este libro se publica bajo la licencia Creative Commons Reconocimiento - No Comercial - Compartir Igual 3.0, cuyos detalles puedes consultar en http://creativecommons.org/licenses/by-nc-sa/3.0/es/ Puedes copiar, distribuir y comunicar públicamente la obra, incluso transformándola, siempre que cumplas todas las condiciones siguientes: • Reconocimiento: debes reconocer siempre la autoría de la obra original, indicando tanto el nombre del autor (Javier Eguiluz) como el nombre del sitio donde se publicó originalmente (librosweb.es). Este reconocimiento no debe hacerse de una manera que sugiera que el autor o el sitio apoyan el uso que haces de su obra. • No comercial: no puedes utilizar esta obra con fines comerciales de ningún tipo. Entre otros, no puedes vender esta obra bajo ningún concepto y tampoco puedes publicar estos contenidos en sitios web que incluyan publicidad de cualquier tipo. • Compartir igual: si alteras o transformas esta obra o si realizas una obra derivada, debes compartir tu trabajo obligatoriamente bajo esta misma licencia. Índice de contenidos Capítulo 1. Introducción . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 1.1. ¿Qué es HTML? . . ...

Words: 24973 - Pages: 100

Free Essay

Simple Introduction to Xml

...XML XML is one type of markup language that is simple and universal which allow users to store structured data into XML files. XML technically stands for Extensible Markup Language. XML is developed for several purposes. Some common used for XML are information identification, storage, and structure. XML can be used to store information across many platforms because it is portable and non-proprietary, also backed by international standard which is accessible and processable as a data format. XML is used for web services and development where it is used as platform to transfer data between different languages. It is also used for documentation and publishing as well as messaging and data transfer. There are several reasons why a programmer or web designer should use XML. Some advantages of XML include it is a platform to used independent language and easy to be used and understand. XML is not restricted to limited set of tags and users can developed their own set of tags with any sets of rule. XML can also be combined with any application that capable of processing it and it is also very compatible with java application. XML can send data from java program to .NET application and vice versa and it supported almost all other programming language. Besides, XML is vendor and system independent where there would be no loss of data during data exchange even when using system of totally different format. XML is portable language and can be used in large networks with multiple platforms...

Words: 423 - Pages: 2

Free Essay

Computer Xml Attacks

...The world we live in is a very computer generated and program used place. Not only do we use computers in almost every facet or way of life, with our main computers… (IE: Cellphone, Home PC, or Laptop) many of us couldn’t function on a daily basis. The codes that keep us safe or that allow us to communicate with the rest of civilization can also be the same codes or schemes used against us by hackers to gain information that could have the potential to cause Identity Theft. One of the most famous website used by men & women (ages 35-50) is Facebook. Beginning in 2011, Mark Zuckerberg had Facebook run a "Bug Bounty" program which offers cash rewards to find and report security bugs in its servers. To date, one of the biggest payouts was a modest $33,500. This payment went to a Brazilian researcher for identifying and reporting a critical vulnerability within a Facebook XML interface using an XML External Entity. An XML External Entity or XXE attack targets the primary weakness in server XML processors. These attacks are used on servers and network machines to parse XML messages. The effects of a successful XXE attack are severe. Attackers may gain arbitrary access to all local, shared, and even secure files. Plus gain info and access to TCP/IP connections on the vulnerable machine to launch a data breach or DOS attacks. The informative markup language or XML, is designed to help structure, store, and transfer data. Because of its platform independence, flexibility, and relative...

Words: 425 - Pages: 2

Free Essay

Word Doc

...HTML5, the new version of HTML offers a number of unique features which will change the way websites and users interact. We will take a look at 5 important features which revolutionize the way users view websites. HTML5 will significantly change the way websites are designed. It is already a favored platform for new age technology. Search engines will get access to tap into a richer source of information. The Apple iPhones, iPads and Google Android phones already use elements of HTML 5. This makes it an important markup language for future website design projects across various display devices. HTML5 features in the limelight The HTML project working group has released several feature specs till now. Some of key ones are 1. Video elements: Designers can now build web pages without having to resort to third-party proprietary plug-in software like Flash. YouTube is experimenting with using HTML 5 to display video. Built in video controls makes the feature more attractive and easy to use. 2. Application cache: On the lines of Outlook but minus the email client requirement, you can now store web apps much like emails locally. Google has already made use of this feature replacing its Google Gears mail client with HTML 5. Google Wave also usesHTML 5 3. Canvas for Images: The canvas element that comes with HTML 5 lets you manipulate graphics and photos enabling easy rendering of images. Designers no longer need to use intermediate technologies like jQuery. This will help save...

Words: 681 - Pages: 3

Free Essay

Xblr

...The Next Technology Revolution XML XBRL 1 Today’s Objectives • Overview of XML & XBRL • Show you how this technology makes doing EBusiness: – Faster – Cheaper – Better • Conclusion 2 Let’s move up the Value Chain Transactions Data Information Knowledge Decisions Transactions Data Information Knowledge Decisions Transactions Data Information Knowledge Decisions Transactions Data Information Knowledge Decisions 3 Evolution to Web Services Web Program the Web Browse the Web Web Services Text Files Web Pages Innovation FTP, E-Mail, Gopher Connectivity TCP/IP HTML XML 4 Automation Presentation Technology XML XML stands for: eXtensible Markup Language Universally accepted method of exchanging information 5 eXtensible Markup Language • ……is a meta markup language the World Wide Web Consortium (W3C) considers a universal standard for describing both structured data and the behavior of applications that process the language. 6 What Is XML? • “XML is a platform-independent, self-describing, expandable, standard data exchange format 7 XML is Platform Independent • • • • • Windows Unix Macintosh Mainframe Linux 8 XML is Self-Describing Self• Example: – July 26, 1998 • Describes the information, not the presentation • Format neutral 9 XML is Expandable • Whereas HTML has a fixed set of tags – , , • XML lets you create your own tags – – – 10 How does it...

Words: 268 - Pages: 2

Free Essay

Html Frames

...HTML Frames • Frames allow you to have multiple sections of the browser window, called frames, each showing their own .html file within the frame. • HTML Frames can be used to split a web page so you can load multiple HTML files or pages into one web page. This will cause the web browser to display multiple pages at one time. Frame sets are rarely used these days, as the introduction of server side scripting languages such as php and asp allow you to create content pages dynamically. The introduction of HTML5 has also provided new methods of doing page layouts without having to use frames. Frame Set - ... • the frameset tag defines a group of frames. Setting the rows and cols attribute allow you to create the number of frames needed for your layout. • rows="??,??" - To set up multiple frames in rows, replace the question marks by the size of each row, either in pixels or as a percentage. A * can be used as a wild card, for instance: rows="100,*" would give you a top frame of 100 pixels high, and a bottom frame using the rest of the screen. cols="??,??" - Similar to rows, a number of frames can be set out in columns. border="?" - Frame border thickness in pixels. bordercolor="?" - Colour of border between frames. (*) • • • Frame - Each frame within a set will need a frame tag to tell it which web page to load in the frame. It uses the attribute: • src="url" - Filename or URL of page to show in the frame • noresize="noresize"...

Words: 672 - Pages: 3

Free Essay

10 Major Advantages of Html5

...Basically HTML5 has it’s many new syntactical features, which include the , , and elements, as well as the integration of SVG content. Due to these new elements, it will be very easy to integrate multimedia and graphical content to web without using flash and third party plugins. There are also another new elements like , , and which enrich the semantic value of the document. Other major advantages of HTML5 are described below. 1. Mutuality Due to usability purpose the web sites made by developers are highly interactive nowadays and for this developers need to include fluid animations, stream video, play music and Social Network sites like Facebook and Twitter into the websites. Till now they have only the option to integrate it with the help of Flash or Silverlight, Flex or javascript like tools. But these consume so much time to develop and even the complexity of web application also increased. But now with the help of HTML5 it is possible to embed video and audio, high quality drawings, charts and animation and many other rich content without using any plugins and third party programmas as the functionality is built into the browser. 2. Cleaner markup / Improved Code HTML 5 will enable web designers to use cleaner, neater code, we can remove most div tags and replace them with semantic HTML 5 elements. 3. Improved Semantics Now it is easy to see which parts of the page are headers, nav, footers, aside, etc as the tags are specific for these all and most importantly...

Words: 889 - Pages: 4

Free Essay

Web Technologies Usability and Standards Compliance

...Part 1 (a) Explain what is meant by standards-compliance in terms of valid XHTML 1.0 ‘strict’ Document type and valid CSS 2.1 Description and implementation of a coding solution to achieve standards-compliant XHTML and CSS for prototype OURC website. (b) Explanation of what is meant by the term usability in terms of the websites. For the amendments you have made to the templates to achieve usability of the prototype OURC website. To ensure usability of the website, I amended the code on both templates to ensure that there is clear and consistent layout with lots of white space between the text and tables making it easier for a user to read. I amended the code in both templates to link the pages together, thereby increasing usability by making the webpages operable, efficient and easy to use. Index template I amended the coding for the (picture) image information to specify an “ALT” attribute tag, which I described as “picture of people running”. ALT tags are intended to be provided, to assist users who may be sight challenged - or using older browsers to obtain an explanation of the image(s) are representative of. I amended the code by adding an opening bracket to the HTML comment about the comments not being rendered by the webpage. This stopped this comment from appearing on the webpage and thus confusing the user. I deleted the random character ‘w’ which was an error in the text about the handicap race distances. I also deleted the html...

Words: 876 - Pages: 4

Free Essay

Creating Websites Unit 2 Assignment 1

...1 1. This XHTML element contains a definition list: <dl> 2. This XHTML element contains the header section of the Web page: <head> 3. This special character can be used to add one or more blank spaces between Web page content: &nbsp 4. This XHTML element configures a line break: <br/> 5. A deprecated element is still supported in the current version of the language but will not be supported in a future version. 6. This type of list is displayed with “bullets” in front of each item: unordered 7. This XHTML logical style element configures the text to be bold: <strong> 8. This XHTML element contains a Web page document: <html> 9. This attribute of the <li> XHTML element configures the appearance of the unordered or ordered list: Type 10. This XHTML element contains the description area of a definition list: <dd> 11. This special character configures the copyright symbol: &copy 12. This HTML element is the largest heading: <h1> 13. This attribute configures how content is situated to the left, right, or center of a Web page: Align 14. This XHTML element is used to indent and separate an area of text. It was originally intended for use with quotations: block quote 15. This XHTML element contains the content that will display in the browser: <body> 16. Acronym for Document Type Definition: DTD 17. This type of list is a good choice for a glossary or FAQ list: <dl> 18. This XHTML element specifies...

Words: 369 - Pages: 2

Free Essay

Science

...XHTML Tutorial Author: Dwight VanTuyl Created: September 15, 2008 SGML Background SGML XML HTML XHTML Content vs. Presentation • HTML (content) – Historically was used for rendering content and presentation – Now, push is to use only for describing content – e.g. Header, paragraph, list, image, etc. – Still backwards compatible and can be used for presentation • CSS (presentation) – Introduced after the web started getting really ‘fancy.’ – Now, we use a separate CSS file for the presentation – e.g. Layout, color, font, position, size, etc. W3C • The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web (abbreviated WWW or W3). • Learn more about HTML and XHTML at: http://www.w3schools.com/ • Also Check Out: HTML For the World Wide Web by Elizabeth Castro Elements and Attributes Element Content • Elements (aka tags): specify the type of content – how the content will be used in an XML document. XHTML defines its own set of valid element_names (e.g. head, body, h1). • Attributes: give special properties to each element. Again, XHTML defines its own set of valid attribute_names (e.g. class, style, id). Important XHTML Rules • Elements must be properly nested – Wrong: blah blah – Right: blah blah • Elements must always be closed – Wrong: Hello. This is paragraph that isn’t closed. – Right: This is the right way. • Element and Attribute names must be in lowercase – Wrong: – Right: ...

Words: 1324 - Pages: 6

Premium Essay

Sd11240 Creating Website Using Notepad++ and Css

...nontext element. _”alt”, ”longdesc”_ 2. A type of graphic best used for line art or clip art. __GIF 3. Image configured with multiple clickable areas. __image map 4. XHTML attribute that configures horizontal alignment. ___align 5. Graphic file type that supports transparency and millions of colors. __PNG 6. XHTML attribute that configures vertical space above and below an image. __vspace 7. XHTML attribute that configures alternate text content for an image. __alt 8. Small version of an image that usually links to the larger version. _thumbnail 9. XHTML attribute of the img tag that configures space to the left and right. __hspace 10. XHTML element that configures graphics on Web pages. ___ 11. Set this XHTML attribute to zero to eliminate outlines on image links. ___________ 12. A clickable area on an image map. __hot spot 13. A type of graphic best used for photographic images. __jpg 14. Area between an element’s content and border. ____padding 15. Process of creating a slight blur to smooth the jagged edges in digital images. __antialiasing 16. CSS property that configures the background color of a Web page or element. __background-color 17. CSS property that configures the style of border. ___border-style 18. CSS property that configures thickness of the border. __border-width 19. XHTML element that configures a horizontal line. ___ 20. CSS property that configures a graphic as a background. ___background-image 21. CSS property that configures placement...

Words: 315 - Pages: 2