Contents one to use?. 7 Task 3 –

Topics: BusinessGoogle

Type:

Sample donated:

Last updated: July 27, 2019

    Contents Task 1 – CSS. 2 Inline Vs Internal Vs External CSS. 5 What is CSS?. 5 Types of CSS?. 5 Which one to use?.

7 Task 3 – Plan and Documentation. 12 Task 4 – Website Creation. 13 Task 5 – Evaluative Report. 14 Page 1.

Don't use plagiarized sources.
Get Your Custom Essay on "Contents one to use?. 7 Task 3 –..."
For You For Only $13.90/page!


Get custom paper

14 Page 2. 14 Page 3. 14 Page 4. 15    Task 1 – CSS  Css CSS Stands for cascading stylesheets which is a type of web language, which is used used for the layout of awebsite.  It is used for describing thelook and formatting of a document presentation, such as layout colours andfonts. Every single element on a web page is a box.The word box model used when talking about the design and layout of a websitethe css box model is a box that wraps around the html elements. ADVANTAGES Inline CSSThere are many advantages to using inline CSS,these are some examples:  When web developers test code, it is effective for using inline CSS as there are debuggers for webpages compared to other style methods that are irresponsive within webpages.

In the event of a quick fix needed to be made of 1 or 2 webpages, inline CSS is recommended compared to other styling methods. Webpages load at faster rates as the requirement for CSS files to be downloaded is not needed. Unique tag attributes can be added, e.

g. font, size and colour can be added to a   The files are repeatedly downloaded by the programmer on every request. Instead, effective use of external style sheets would be more effective. WHY? To modify an attribute in a large website with 20 webpages, the developer would be required to alter each STYLE ATTRIBUTES The files are repeatedly downloaded by the programmer on every request. Instead, effective use of external style sheets would be more effective.

WHY? To modify an attribute in a large website with 20 webpages, the developer would be required to alter each attribute in all the code. This does consume time for the developer for example, to change the

External CSSAn external style sheet isideal when the style is applied to many pages. With an external style sheet,you can change the look of an entire Web site by changing one file. Each pagemust link to the style sheet using the tag.

The taggoes inside the head section:css"href="mystyle.css" />An external style sheet can bewritten in any text editor. The file should not contain any html tags. Yourstyle sheet should be saved with a .css extension. An example of a style sheetfile is shown below:hr.{color: sienna ;}p{margin-left:20px;}Body{background-image: url("images/back40.gif");}Which one to use?The major question is whichCSS would be used.

After going through many web sites and articles, I am herewriting my views.Inline CSSAdvantages:Inline CSS can be used formany purposes, some of which include: Testing:  Many web designers use Inline CSS when they begin working on new projects, this is because its easier to scroll up in the source, rather than change the source file. Some also using it to debug their pages, if they encounter a problem which is not so easily fixed. This can be done in combination with the important rule of CSS.

Quick-fixes: There are times where you would just apply a direct fix in your HTML source, using the style attribute, but you would usually move the fix to the relevant files when you are either able, or got the time. Smaller Websites: The website such as Blogs where there are only limited number of pages, using of Inline CSS helps users and service provider. Lower the HTTP Requests: The major benefit of using Inline CSS is lower HTTP Requests which means the website loads faster than External CSS.DisadvantagesInline CSS some of thedisadvantages of which includes: Overriding: Because they are the most specific in the cascade, they can over-ride things you didn't intend them to. Every Element: Inline styles must be applied to every element you want them on. So if you want all your paragraphs to have the font family "Arial" you have to add an inline style to each  tag in your document.

This adds both maintenance work for the designer and download time for the reader. Pseudo-elements: It's impossible to style pseudo-elements and classes with inline styles. For example, with external and internal style sheets, you can style the visited, hover, active, and link color of an anchor tag.

But with an inline style all you can style is the link itself, because that's what the style attribute is attached to.Internal CSSAdvantagesSince the Internal CSS havemore preference over Inline CSS. There are numerous advantagesof which some of important are an under: Cache Problem: Internal styles will be read by all browsers unless they are hacked to hide from certain ones.

This removes the ability to use media=all or @import to hide styles from old, crotchety browsers like IE4 and NN4. Pseudo-elements: It's impossible to style pseudo-elements and classes with inline styles. With Internal style sheets, you can style the visited, hover, active, and link color of an anchor tag. One style of same element: Internal styles need not be applied to every element. So if you want all your paragraphs to have the font family "Arial" you have to add an Inline style  tag in Internal Style document. No additional downloads: No additional downloads necessary to receive style information or we have less HTTP RequestDisadvantages Multiple Documents: This method can't be used, if you want to use it on multiple web pages. Slow Page Loading: As there are less HTTP Request but by using the Internal CSS the page load slow as compared to Inline and External CSS.

Large File Size: While using the Internal CSS the page size increases but it helps only to Designers while working offline but when the website goes online it consumers much time as compared to offline.External CSSAdvantagesThere are many advantages forusing external CSS and some of are: Full Control of page structure: CSS allows you to display your web page according to W3C HTML standards without making any compromise with the actual look of the page. Google is the leading search Engine and major source of traffic. Google gives very little value to the web pages that are well-organized, since the value is little thus many Designers ignore it. But by taking small value may drive much traffic to the website. Reduced file-size: By including the styling of the text in a separate file, you can dramatically decrease the file-size of your pages.

Also, the content-to-code ratio is far greater than with simple HTML pages, thus making the page structure easier to read for both the programmer and the spiders. With CSS you can define the visual effect that you want to apply to images, instead of using images per say. The space you gain this way can be used for text that is relevant for spiders (i.e.

keywords), and you will also lower the file-size of the page. Less load time: Today, when Google has included the Loading time in his algorithm, it's become more important to look into the page loading time and another benefit of having low file-size pages translates into reduced bandwidth costs. CSS can help you save some money by offering you.

I done a small experiment to check the page load time. I am using the Mobile Internet Connection for testing and for that first I cleared the web cache of the website and visitedhttp/law mirror for first time after clearing cache. The total time taken to load the website is 16 seconds. Now I hit the F5 button and the time taken to load the website is 8 seconds. Using external CSS has reduced the page load timing. It me explain it how it reduces the time, when you first visited the website, it has downloaded all the contents + external CSS and while downloading external CSS, it has marked the CSS with the time stamp with the time stamp of the web server. Now when you hit F5, it again starts working but this time the browser compare the time stamps of downloaded CSS with Web Server CSS and due to same time stamp, it doesn't downloaded the CSS external file from server and using the already downloaded time, which make the Web Page Loading time faster as com paired to first time.

If you check under Firebug or Chrome tools it will tell 304 Not Modified, meaning the file is not modified since last downloaded file, and thus ignoring to download the external CSS file.   Task 2 – JavaScript  Producea report which includes the following: Explain howJavaScript can be used to improve website functionality.  Java script is a interpreted programming or script language, it isoften abbreviaviated as is is a high level dynamic, weekly typed porotype base,multi paradigm, and interpreted programming languageJavascript has quickly become an important language used in many aspects of websitedevelopment. Although it may look very simple and straightforward to newprogramme, it has several features that may leave, you wondering why your codedoes not work. Just because your programme contains functions does notnecessary mean that you are doing functionality programmes.  Explain the main featuresof JavaScript. (Including its characteristics, examples of its uses and the wayit is constructed. Use screenshots where possible to evidence yourunderstanding).

 Java script programs isconsidered to be easy as writing basic programs java script has the followinguses. Java script characteristics. The java script document object model someobjects can share the same properties, Java script language concepts. Features of java script JavaScript is a object-based scripting language. Giving the user more control over the browser. It Handling dates and time. It Detecting the user's browser and OS, It is light weighted.

JavaScript is a scripting language and it is not java. JavaScript is interpreter based scripting language    Explore how web pages usingscripts are implemented in two different browsers. (You will need to researchthis and provide appropriate evidence e.g.

screenshots.) The way certain would always get something looking different.That is why it is always good to test your coding on every browser to try tofind elements of JavaScript is displayed is not always going to be the same forevery browser, as every different browser would have their own take on how torun the code which means that when running the code of different browsers you aclose matching on every website to that each user on different browsers willhave nearly the same experience within the browsers.   Browser Detection  The whole point of browser detection is to see certain thingsfrom: what web browser is in use and a number of other things. Because ofbrowser detection, a web developer will have to use different codes to makesure that the website is working the way it needs to be in different browsers.

The same goes for when a mobile user tries to use the website which means thatthe website itself should have a completely different way it operates to bebetter for when they use the site. Things that would need to be changed formobiles uses are the layout and size of the website to match the size of thephones screen. The detection process is to make sure that the right code isused for the browser in use to allow the website to work at its best.

 Here are some pictures below that are JavaScript popups whichare shown on three different browsers that are Firefox, Internet Explorer andChrome. From looking at all of these three images, it is really clear to seethat the JavaScript doesn't work the same on these browsersbecause browser detection is not coded within the site so the browser is nottold how to show what is on the website.   The reason why the popups are different is due to the fact thatall browsers are programmed differently which means that client side scriptswould be shown to be different on the client's browser. CSS code should alllook the same on all browsers but with JavaScript it is either in the wrong orright way.

This is why it is displayed in any way unless told not to.Here is an example of the code for the browser detection. Thisshould detect what web browser is being used to access the website.  Whenthe browser detection has figured out what the user is using then it wouldadjust accordingly.     Task 3 – Plan and Documentation  Research two existing websites for similar business and detail yourinspirations and motivations. P4/M3   Create a wire framestoryboard with annotations for your site. P4/M3 Design visual mock ups foryour site.

P4/M3 Task 4 – Website Creation  Pleaseupload a zipped folder that contains your full website.  Please provide screen shot of our siteworking in a browser.  Task 5 – Evaluative Report  You will test your website for functionality. P6Page 1 Test Number Item tested Expected outcome Actual outcome Success/ Failure 1.1 Spelling All spellings are correct Spellings correct S 1.2 Images Load Images will load correctly     1.3 Links work Links will work correctly     1.

4 Browser compatibility There will be no browser compatibility issues      Page 2  Test Number Item tested Expected outcome Actual outcome Success/ Failure 2.1 Spelling All spellings are correct Spellings correct S 2.2 Images Load Images will load correctly     2.3 Links work Links will work correctly     2.

4 Browser compatibility There will be no browser compatibility issues      Page 3 Test Number Item tested Expected outcome Actual outcome Success/ Failure 4.1 Spelling All spellings are correct Spellings correct S 4.2 Contact form Contact form allows input     4.3 Links work Links will work correctly     4.

4 Browser compatibility There will be no browser compatibility issues      Page 4  Test Number Item tested Expected outcome Actual outcome Success/ Failure 3.1 Spelling All spellings are correct Spellings correct S 3.2 Images Load Images will load correctly     3.3 Links work Links will work correctly     3.4 Browser compatibility There will be no browser compatibility issues      Evaluative Report D2 Does your website meet all the client requirements? (Explain how)  What program have you used to create your website and graphics?Was it easy to use? What/ why / how / would you use it again?  Is your website user friendly? (Explain how) Is your website accessible? (Explain how)  A record (including screenshots) of any changes you made betweenplanning and development – ensure these are explained.  Good and bad points about your website (Consider feedback).

 Conclude by suggesting future improvements if you were tore-design and re- create the site.  

Choose your subject

x

Hi!
I'm Jessica!

Don't know how to start your paper? Worry no more! Get professional writing assistance from me.

Click here