Free Essay

Html Frames

In:

Submitted By dgreat28
Words 672
Pages 3
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" - The frame will not be able to be resized by a visitor scrolling="auto" - Each frame will have vertical and horizontal scroll bars appear automatically when needed. You can change this by setting the scrolling attribute to yes, no, or auto.
• frameborder="auto" - Individual Frame Border. Set to 0, 1 to specify whether or not that frame must have a border.

Unframed Content - ...
Very old browsers are unable to display frames, and in this case we need to specify what these browsers should display instead of the frames. Even though this is not much of a problem anymore, it is still suggested that you specify unframed content when using frames. Anything between the noframes tags will not be shown in modern browsers that show framed content.

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp Example:

SOURCE CODE:
A frame example with one header row, a left & right side column, and the content in the center.

Example - Frames

error to display to those who cannot see frames

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp EXAMPLE:

source code:

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp Adding a Banner or Title Frame
Add a row to the top for a title and graphics with the code as follows:
HTML Code:

FrameBorder and FrameSpacing
You've probably noticed those ugly gray lines that appear between the frames. It is possible to remove these and manipulate the spacing between frames with frameborder and framespacing. These attributes appear within the frameset tag.
Note: Framespacing and border are the same attribute, but some browsers only recognize one or the other, so use both, with the same value, to be safe.

•.frameborder="#" - Determines whether there will be a border.
•.border="#"- Modifies the border width.
•.framespacing="#" -Modifies the border width, used by Internet Explorer.
Here's an example of the same frameset without the borders.

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp FrameBorder and FrameSpacing
HTML Code:

Frame Name and Frame Target
How nice would it be to make each menu link load into the content page? We do this by naming each frame and setting the correct base target inside "menu.html".
HTML Code:

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp Noresize and Scrolling
It's possible to further customize the tag using the noresize and scrolling attributes.
HTML Code:

http://www.simplehtmlguide.com/frames.php http://w3schools.com/html/default.asp

Similar Documents

Free Essay

Cashier

...Pr. Anna Pinkas MMP100 - Introduction to Multimedia Tutorials ! ! WEEK 9 - SIMPLE ANIMATION WITH PHOTOSHOP: HD VIDEO ! Installing the font ! 1. Double click on Righteous-Regular.ttf 2. Click on the Install Font button ! a New Document for HD video output Creating ! 1. Open Photoshop 2. File > New a. Width: 1920px b. Height: 1080px c. 72ppi d. RGB e. OK 3. File > Save As a. Name the file “hungryOwl_video” b. Set the file format to Photoshop (.psd) c. Save ! the background Creating ! 1. Rename the first layer “background” 2. Double-click on foreground color and set it to #242424 3. Select the bucket tool (G) 4. Click anywhere on the canvas to fill it with dark grey ! the text Creating ! 1. Select the type tool (T) 2. Set the font-family to Righteous, Size to 320px, Color to #4d4d4d 3. Click anywhere on the canvas and type “hungry owl” a. Click on the Check Mark in the top options bar to commit 4. To center the text on the canvas: a. Select All (Cmd + A) b. Activate the move tool c. Use the centering icons in the top option bar d. Deselect (Cmd + D) 5. Make 2 copies of the font layer (Cmd + J) 6. Rename the layers “font1”, “font2”, “font3” 7. Add noise to each layer: a. Activate the “font1” layer b. Filter > Noise > Add Noise i. OK the rasterize alert window ii. Set the amount to 20 iii. OK c. Activate the “font2” layer d. Filter > Noise > Add Noise i. OK the rasterize alert...

Words: 1947 - Pages: 8

Premium Essay

Memo

...Marcus Moon Mr. Marsh English Composition 6 April 2012 The Golden Grandchild “You are my favorite grandchild.” This is the phrase my grandmother often uses whenever we are alone with one another. Ever since I can remember my grandmother and I have always had a special bond with one another, mainly because she helped raise me. She has always spoiled me and treated me as if I was her “golden grandchild.” My grandmother has many special ways of showing me that I am her favorite grandchild. When I was sixteen she gave me my first car and in her dining room my pictures are framed in gold trimmed picture frames, while the other grandchildren’s pictures are framed in plain frames. It may sound ridiculous but I am 100 percent sure that I am my grandmother’s favorite grandchild. When I was sixteen years old the only thing that was on my mind was girls and getting a car. All year long I begged and pleaded my parents to buy me a car; I even started working at Pizza Hut to help my parents pay for my first car. My parents were very doubtful about me having my own car because they thought that having a car would affect my grades and that I would disregard my curfew. Constantly I promised my parents that I would not get out of hand and would remain focused. I remember once I even told them that “having a car will make me even more focus because I know if I get bad grades or come home late that you all will take the car away for me.” Luckily my parents believed me and said that...

Words: 915 - Pages: 4

Free Essay

Negotiation

...An Analysis of Negotiation Processes February 10, 2011 Introduction Kelly is a Canadian who holds a college degree and has spent some time in Japan as a child. She was excited to learn of an opportunity to work in this country for one year. The position of interest requires working closely with Japanese educators who are teaching English. The program provides a contract that provides specifics on salary, working hours, and benefits, to include sick days and personal holidays. Cathy travels to Japan after being accepted and discovers that she will be working with Mark, also from Canada, Andrea, and American, and Suzanne, from Great Britain. However, she is made aware of cultural differences very quickly because the Japanese people voluntarily work long hours without pay, to include working on weekends. Moreover, Mr. Higashi, the head coordinator of the program frequently insists that Kelly and her co-workers take part of Japanese cultural events and they are resentful because they feel that Mr. Higashi is trying to make them conform. In addition to the cultural conflicts, Kelly and her peers are also disliked by the Japanese workers because they believe that everyone should show dedication to their jobs by working long hours without pay. Needless to say, the foreigners do not agree and are committed to honoring what’s contained in their contracts only. Things begin to go awry when Kelly calls out sick while experiencing flu-like symptoms. Mr. Higashi responds...

Words: 1624 - Pages: 7

Free Essay

Cis 273 Final Exam – 50/50 Correct Answers

...Exams use this form ( http://hwguiders.com/contact-us/ ) Feel Free to Search your Class through Our Product Categories or From Our Search Bar (http://hwguiders.com/ ) CIS 273 Final Exam 50/50 Correct Answers • Question 1 The table marked 1 in the accompanying figure has a rules value of ____. Answer • Question 2 With the frame value ____, a border is drawn only on the left-hand side of the table. Answer • Question 3 To control the space between the table text and the cell borders, add the ____ attribute to the table tag. Answer • Question 4 The ____ attribute allows you to determine which sides of the table will have borders. • Question 5 To create a cell that spans two rows in a table, you enter the tag as ____. • Question 6 The table header, table body, and table footer must all contain the same number of ____. • Question 7 Which of the following is a table frame type? • Question 8 With the frame value ____, a border is drawn on the left and right sides of the table. • Question 9 With the frame value ____, a border is drawn only below the table. • Question 10 With the frame value ____, a border is drawn on the top and bottom sides of the table. • Question 11 Another way you can specify the width is to use the ____ attribute. • Question 12 When you link a label with an associated text element for scripting purposes, you must bind the label to the ____ attribute of the field. • Question 13 The ____...

Words: 21589 - Pages: 87

Premium Essay

Research & Writing

...Introduction This paper will outline my finding after reading the case “Sick Leave”. The background of the case tells of four foreign exchange students working in Japan at the Board of Education. Three of the workers became sick and had to call off for two consecutive days. The workers were informed when they returned to work; they were required to return to work with a doctor’s note certifying they were in fact sick. When Kelly returned to work she gave her boss the note. Later that evening the accountant visits Kelly desk to have her sign her leave slip. The leave slip was not completed properly by the accountant; Kelly quickly noticed she was being charged vacation days instead of sick. Kelly bought this error to her supervisor Mr. Higashi’s attention and he stated it was not an error because they are doing things the Japanese way since they are in Japan. Kelly became furious because she knew what her contract stated and that she was entitled to both vacation and sick leave days. She produced a copy of the contract to her boss and he hurried to a meeting. Kelly sat at her desk and contemplated her next move. She talked to the other foreign workers and said she was going to call the company who hired them. I will give suggestions for Kelly to properly negotiate her reasons for being granted the use of her sick leave instead of being charged vacation leave. I relate my suggestions to framing and to effective communications in the workplace. I will outline the...

Words: 2113 - Pages: 9

Premium Essay

Accounting

...information on the next page, compute and interpret the predetermined manufacturing overhead rate for Wall Décor. Total cost = number of prints x cost per print Unframed Print Steel Framed Print, No Matting Wood Framed Print, with Matting 80,000 x $12 = $960,000 15,000 x $16 = $240,000 7,000 x $20 = $140,000 Total Cost of Prints = $960,000 + $240,000 + $140,000 = $1,340,000 Predetermined Manufacturing Overhead Rate = Manufacturing Overhead ×100% Total Cost of Prints) 1|Page = 375, 200 × 100% 1, 340, 000 = 28% 4. Compute the product cost for the following three items. a) Lance Armstrong unframed print (base of print $12) b) John Elway print in steel frame, no mat (base cost of print $16) c) Lambeau Field print in wood frame with mat (base cost of print $20) Direct Materials = print + frame & glass + matting Direct Labor = picking labor + framing & matting labor Manufacturing Overhead = direct materials x predetermined rate Cost of Prints = direct materials + direct labor + manufacturing overhead Picking labor = Rate x minutes worker hour = Rate $12 × 10 = $2 / unit x minutes worked = 60 min 60 Rate $21 × 20 = $7 x minutes worked = 60 min 60 Rate $21 × 30 = $10.50 x minutes worked = 60 min 60 For Steel Framed, Matting & Framing Time = For...

Words: 760 - Pages: 4

Free Essay

Reciprocal Architecture

...RECIPROCAL ARCHITECTURE Reciprocal frames comprise a family of structural systems characterized by the interdependent relations of their constituent parts. The term “reciprocal frame” was coined by the English designer and builder Graham Brown in order to describe a structural paradigm that had, until that time, been without a name. Reciprocal frame building types have a long, though somewhat obscure history, having been developed seemingly in parallel by different cultures in response to the constraints of available materials, but for the most part abandoned following the introduction of modern structural typologies and increased availability of building materials through trade and the development of better transportation technologies. As our global resources are subjected to greater pressure, there has been renewed interest in architectural forms that are highly flexible to available materials. Reciprocal frame systems are efficient in their use of small pieces of material to span large volumes. This has beneficial implications for construction in that it makes available a material set that is otherwise unsuitable for architectural applications. Hardwoods and lower-quality softwoods that cannot be used in other framing schemes are ideally suited to RF morphology (Thonnisen & Werenfels 2011). This is perhaps one reason that we have seen a surge in the popularity of reciprocal frames as a research topic over the past two decades. Another probable factor is the development...

Words: 266 - Pages: 2

Free Essay

Basic Building Instructions

...Basic Building instructions-For the main support my husband used 4- 1"x2" boards appx 6' high (we found it was surprisingly cheaper to buy the ones that where already primed white), he then took more of the same 1"x2" boards and cut them down to a 24" length for the frame- he built 3 square frames one for the top middle and base (so he used 12- 24" pieces) then attaching the 4- 6' pieces to the 3 square frames. For the back of the unit we attached a large sheet of Masonite that was already primed white cutting it to the appropriate size. For the bars we ordered a 100' roll of black bungee and cut them down to size, screwing them onto the frame (top, middle and bottom). Then for the final touch he took some nice base board molding and attached it to the outside of the frame. For the plaque i took a sheet of wood that was 24" wide, picking one that looked long enough to decorate, had my husband cut the sides to match the molding that he used so it would line up correctly, then i painted it white to match, adding her painted name and glued on some embellishments (zoo animals). I got these at the craft stores or walmart. He then attached it and we filled it was stuffed animals....(NOTE: he found screwing the boards together was much sturdier then nailing or pinning it) (also we choose to leave it with no floor) Additional Notes: the cord we used was 1/4" x 100 FT. Shock Cord or Bungee cord...the back is just one solid sheet of primed masonite, it looks like the back of a cabinet...

Words: 320 - Pages: 2

Free Essay

Computer Syllabus for Grade 8

...Web Browsers Elements * Kinds of the Web Browsers * Basic Web Design Principles * Essentials Elements of the Web Contents * Planning Your Web SiteINTRODUCTION TO HTML * What is HTML? * Exploring HTML Text Editors * What is New in HTML5? * Basic Differences between HTML4 and HTML5? * Browser Support for HTML5 * Writing HTML Files * Starting HTML with Notepad * The Notepad Window * What is DocType? * What is Meta? * Attributes for <meta> * Viewing HTML Code in a BrowserTAGS AND ATTRIBUTES * What is Tag? * Structure of Tag * Container and Empty Tags * HTML Tags * New Structural Tags in HTML5 * New Media Elements in HTML5 * New Canvas and Form Elements in HTML5 * Removed Elements * What are Attributes * Common Attributes * Outline Algorithm * Basic Page StructureHEAD AND BODY TAGS * What are Head Tags? * What are Body Tags? * Attributes for <body> * What are Headings? * Attributes for <h1> to <h6> * Grouping HeadingsCREATING AN HTML DOCUMENT * Creating an HTML Document * Saving an HTML Document * Viewing an HTML Page * Using Header * Using Navigation * Creating an Article * Creating a Section * Using Footer * Creating a Generic Container * Printing a Web Page and HTML File * Exiting the Web Page and HTML FilePARAGRAPHS * Creating a New Paragraph * Aligning a Paragraph * Attributes for <p> * Quoting Passages * Adding Line Breaks * Creating Multiple Line...

Words: 2773 - Pages: 12

Premium Essay

Html Text

...HTML, DHTML & JavaScript HTML, DHTML & JavaScript PRAVESH – Student Guide Subject: HTML. DHTML & JavaScript V1.0 Training & Development Division Page 1 of 282 HTML, DHTML & JavaScript Chapter 1: Introduction to Web and Internet...................................................................................3 Chapter 2: HTML's Role on the Web...........................................................................................13 Chapter 3: Creating a Web Page and Entering Text ....................................................................24 Chapter 4: Changing and Customizing HTML Text....................................................................33 Chapter 5: Displaying Text in Lists .............................................................................................43 Chapter 6: Adding Graphics to Your Web Pages.........................................................................54 Chapter 7: Hypertext and Creating Links.....................................................................................64 Chapter 8: Clickable Image Maps and Graphical interfaces........................................................74 Chapter 9: HTML Forms..............................................................................................................85 Chapter 10: Images, Multimedia Objects and Background Graphics ..........................................96 Chapter 11: Adding Tables to your Documents.............................

Words: 56638 - Pages: 227

Free Essay

Advance Web Development

...Q.1 Discuss the Following: * Internet Domain * A domain name is a unique name that identifies a website. For example, the domain name of the Google is "google.com." Each website has a domain name that serves as an address, which is used to access the website * Whenever you visit a website, the domain name appears in the address bar of the web browser. Some domain names are preceded by "www" while others omit the "www" prefix. * All domain names have a domain suffix, such as .com, .net, or .org. The domain suffix helps identify the type of website the domain name represents. For example, ".com" domain names are typically used by commercial website, while ".org" websites are often used by non-profit organizations * NOTE: When you access a website, the domain name is actually translated to an IP address, which defines the server where the website located. This translation is performed dynamically by a service called DNS. * Web Server * A Web server is a computer system that hosts websites. It runs Web server software, such as Apache or Microsoft IIS, which provides access to hosted webpages over the Internet. Every Web server has an IP address and possibly a domain name. For example, if you enter the URL http://www.google.com in your browser, this sends a request to the Web server whose domain name is google.com. * Any computer can be turned into a Web server by installing server software and connecting the machine to the Internet...

Words: 5169 - Pages: 21

Free Essay

Term Paper

...(Link) (Entity) (Comments) (Images) (Tables) (Colors) (Background) (Frame) (Layout) (Embed Music) (Vedio) (body) (Div) ( HTM Tut or i al i n L + + (Form) (Upload) : • Hypertext Markup Language. , । • • • । PHP+Database • Driven WebSite । । webcoachbd.com ( Notepad open Netbeans or Dreamweaver. • • • ) । (Elements) (Tag) (Attribute) >> ( HTM El em L ent s) : (Elements): (tag) page (Element) (closing tag) । HTML HTML Paragraph text, , HTML page Web elements (opening tag) , । 1.

- opening paragraph tag 2. Element Content - paragraph words 3.

- closing tag Web page (Element) elements । । : HTML,head, title body Element... HTML HTML । Welcome to Bangladesh Web page Notepad Open start All Programs > Accessories >Notepad Notepad 1. 2.Welcome to Bangladesh 3. less than greater than ( < >) : Welcome to Bangladesh । Notepad Web page Notepad Double click Page । save open । index.html Browser save open । web element head, elements element <head> closing() tag browser <head> elements header । head title elements । opening (<title>) 1.<html> 2.<head> 3.<title> My WebPage! 4. 5. element body element web page body element । 1. 2. 3.My WebPage! 4. 5. 6.Hello World! All my content goes here! 7. 8. web page .html extension । ( HTM Tag Tut or i al i n Bangl a) L : , paragraph...

Words: 6504 - Pages: 27

Premium Essay

My Mp

...Contents 1. Introduction 2 1.1 Background 2 1.2 Purpose 2 1.2.1 Project 2 1.2.2 Report 3 1.3 Scope 3 1.4 Methodology 4 2 Literature Review 4 2.1 My SQL 4 2.2 Business Process Management 14 2.3 Dashboard 20 2.4 Hyper Text Markup Language (HTML) 27 3 Problem Recognition 34 4 Feasible Study 35 4.1 Operational Feasibility 35 4.2 Economic Feasibility 35 4.3 Technical Feasibility 35 5 Analysis and User Requirements 36 6 Design 37 6.1 Website Design 37 6.2 Excel Design 37 7 Evaluation 38 7.1 Website 38 7.1.1 Website Strength 38 7.1.2 Website Weakness 38 7.2 Excel 39 7.2.1 Excel Strength 39 7.2.2 Excel Weakness 39 8 Recommendations 40 8.1 Recommendations for Website 40 8.2 Recommendations for Excel 40 9 Conclusion 41 10 Bibliography 42 11 Appendixs 44 1. Introduction 1.1 Background This report was written to document the work done for the Major Project entitled to Kate, Jack, Han Wei and Yao Seng in collaboration with Bedok North Secondary School (BNSS). BNSS strives to develop their students holistically through quality programs within a nurturing environments. BNSS place emphasis on their student’s character and citizenship education, inculcating sound values and building good character in their students. It is BNSS vision for their students to become leaders for the future, who are creative lifelong learners, morally upright, caring and loyal. Bedok North Secondary...

Words: 12424 - Pages: 50

Premium Essay

Leadership

...Risk: Structural Frame: risks ignoring everything outside rational scope (tasks, procedures, policies, and organizational charts) * Human Resource Frame: sometimes romanticized view of human nature (everyone hungers for growth and collaboration) * Political Frame: fixation on politics; easily becomes cynical; reinforcing conflict and mistrust * Symbolic Frame: powerful insight into fundamental issues of meaning and belief, creating cohesive groups with shared mission; but, its concepts are elusivability to use multiple * frames Process | Structural | Human Resource | Political | Symbolic | Strategic planning | Create strategic direction | Meeting to promote participation | Arena to air conflict | Ritual to reassure audiences | Decision-making | Rational process to get right answer | Open process to build commitment | Chance to gain or use power | Ritual to build values, bonding | Reorgani-zing | Improve structure/ environment fit | Balance needs and tasks | Reallocate power, form new coalitions | Image of accountability, responsiveness | Process | Structural | Human Resource | Political | Symbolic | Strategic planning | Create strategic direction | Meeting to promote participation | Arena to air conflict | Ritual to reassure audiences | Decision-making | Rational process to get right answer | Open process to build commitment | Chance to gain or use power | Ritual to build values, bonding | Reorgani-zing | Improve structure/...

Words: 3235 - Pages: 13

Premium Essay

Nt1310 Unit 3 Frames Essay

...In video coding mainly there are three types of frames namely: intra-coded frame (I frame),predictive coded frame(P frame) and bidirectional predictive–coded frame(B frame).Frames which are coded without any reference to past frames are known as I frames or key frames. P frames are determined based on prior I frame or P frame and cannot be built if the decoder has not decoded the previous frame. I frames and P frames are known as anchor frames. B frames are predicted from the past and future I frame or P frame. Depending on the H.264 profile, different types of frames such as I-frames, P-frames and B-frames, maybe used by an encoder. An I-frame, or intra frame, is a self-contained frame that can be independently decoded without any reference to other images....

Words: 449 - Pages: 2