EDSS is a combination of Create an Extensible Document (ICPMM491D) and Create an Extensible Style Sheet (ICPMM492D). This class is a cluster of the two units, that will be delivered together.
Overview
In today’s class you will learn about XML.
Today’s Class
Use the XML section on W3Schools and/or Tizag to 1.research and 2.document the points below.
Please document your XML research by answering all questions in the document:>Class 4 – XML Documentation. Upload the completed document to MyKangan!
List of Questions/ Tasks
These questions can be found in the attached Word File.
XML documents are quite sensitive and the syntax (arrangement of words) must be followed exactly.
Describe XML syntax: what does it need to include and what is the structure? Link:W3Schools – XML TreeLink:W3Schools – Syntax Rules
What advice is given in regards to using attributes and elements in XML? What does the writer say about storing meta data and storing data? Link:W3Schools – XML Attributes
W3Schools has a validator for XML. What does a validator do? Find other online or downloadable validators and provide links. Link:W3Schools -Validator
View how CSS can be used to display XML. Explain what the CSS does by using an element and describing the outcome. Use the code provided at the link and a screen shot of the outcome. Link:W3Schools – XML with CSS
Imagine that you have an online shop and you need to adjust the prices. Use the supplied link and adjust the prices as this: Belgian Waffles:$ 4.95, Strawberry Belgian Waffles:$ 8.95, Berry-Belgian Waffles (SPECIAL):$ 7.95, French Toast $5,95, Homestyle Breakfast – $8.95
Insert the XML code in the blue box! Link:W3Schools – TryIt Editor XML/CSS
W3Schools > We will use W3Schools when learning about the Markup languages.
Note: Your comments and feedback are as always welcome. Please leave additional information for other users. Thanks!
EDSS is a combination of Create an Extensible Document (ICPMM491D) and Create an Extensible Style Sheet (ICPMM492D). This class is a cluster of the two units, that will be delivered together.
Overview
In today’s class you will do more JavaScript research by using W3Schools:
EDSS is a combination of Create an Extensible Document (ICPMM491D) and Create an Extensible Style Sheet (ICPMM492D). This class is a cluster of the two units, that will be delivered together.
Use the JavaScript section on W3Schools to 1.research and 2.document the points below.
You can document your research and definitions in a Word document. Use this template > JavaScript Documentation or create your own!
Definition for JavaScript, including the purpose and context of other Markup Languages
Definition HTML DOM and example of a HTML DOM tree found on W3Schools
Can JavaScript be inserted into the Head or Body section of an HTML document?
How is JavaScript inserted into HTML?
Give an example of a Script Tag
What file extension will you need for an external JavaScript file?
Do external JavaScript files use <script> tags?
Write document output: Look at this example on the TryIt Editor and change the Script so that it writes the <h1> and not the <p> content, change the <p> to HTML.
What is a JavaScript statement? Define and give an example!
How do you separate statements?
Is JavaScript case sensitive?
Write document output 2: Look at this example on the TryIt Editor and change the Script so that JavaScript creates the <h1> Good Morning and an additional <h2> What I love? while HTML is responsible for <p>The smell of coffee.
The For Loop: Use the example provided for cars on the TryIt Editor and change it to write 6 brands of chocolate. Make sure to change the string (or text value=cars to something more appropriate).
Welcome to your first class of EDSS, which is a combination of Create an Extensible Document (ICPMM491D) and Create an Extensible Style Sheet (ICPMM492D).
This class is a cluster of the two units, that will be delivered together.
Create an Extensible Document …
… requires the individual to create an extensible markup language (XML/PPML)
document for content publishing that is well-formed, free of errors, meets the needs of the
business and is extensible to meet future business needs.
In more detail, you will learn to:
Define document structure
> details required for the job are checked and confirmed against the job specifications
> mark-up language version and the character encoding used in the document (or declaration statement) are defined and/or inserted in the document
> an external or internal Document Type Definition (DTD) or mark-up language schema is chosen and correctly wrapped and referenced depending on project requirements
> root element is correctly defined and all elements are accurately nested
> attribute types and default values are declared, where necessary
> occurrences of elements are stated and elements of mixed content declared
Confirm validity
> start and end tags are included and closed to ensure no element errors
> namespaces are used to resolve name conflicts
> the document is well-formed, error-free and conforms to the mark-up language syntax rules
> the document conforms to the rules of a Document Type Definition (DTD) or the mark-up language schema
Finalise and test document > character data (CDATA) sections are added to the document structure
> the final document is viewed with a mark-up language parser
> the mark-up language document is well-formed, free of errors and meets the needs of the business
> the document is linked to an extensible style sheet and template and tested
> the document is extensible to meet future business needs
Create an Extensible Style Sheet …
… requires the individual to create extensible style sheets for electronic publishing or online documents including computer screens and handheld devices.
In more detail, you will learn to:
Prepare the source document:
> by validating it as free of errors,
> by confirming the style and transformation requirements of the source document,
> by confirming the required advanced styling requirements,
> by confirming the different media, display formats and target audience
> preferred platforms and abilities
> by preparing the source document for the style sheet
Create the style sheet:
> design multiple templates and apply them to the style
sheet
> use the required presentation styles
> incorporate transformation requirements into several style sheets
> link or associate the style sheet with the source document
> test the link
Test the style sheet:
> validate style sheets are to ensure correct presentation and transformation
> update the style sheet is if errors occur and validate again
> link the style sheet to a data-store and to a digital template and test
> make the style sheet extensible to meet future business needs
Assessments:
There will be 2 assignments, for each you will have to
create an extensible mark-up language document, that is well formed, free of errors, meet the needs of the business and is extensible to meet future business needs.
create extensible style sheets for online documents or electronic publishing
create a testing method (eg a flow chart).
Direct questioning and in-class participation will be included as a form of validation. If you participate well in class it will make it easier for me to mark you as competent.
In-class Task:
Research the acronyms below! You can present your findings as a table.
What does the acronym stands for?
What does it mean, or do or what is the function?
Find an example of coding or document structure and copy or screen print it!
HTML XML PPML SGML CSS XSL PRISM DSSSL
For in-class discussion and submit your document on MyKangan (available by next class).
W3Schools > We will use W3Schools when learning about the Markup languages.
Learn how to create a vertical navigation bar in a button format. Specify a colour for your buttons, and a font for your text. Use internal CSS (in the head segment).
Learn how to create a horizontal navigation bar in a button format. Specify a colour for your buttons, and a font for your text. Use internal CSS (in the head segment).
Create a Web page with a title, horizontal navigation bar and an image gallery with 6 – 9 images.
Make the buttons active hyperlinks, link them to different posts on this blog. Make the image gallery linked to actual images (use morgueFile) and insert thumbnail images for it as well.
Create a simple web page for a small fishing village that would be a beautiful spot to visit.
Photo by dieraecherin on morgueFile
Specs for site:
Think of a colour scheme that suits the theme of a maritime, small seaside port and apply this colour scheme to the web page
Title: name of your town or name of web page in title (how it will be displayed in the title bar of the web browser)
Heading: (H1 in Helvetica) This can be an enticing heading or the name of the town and the country (or state)
Photo by dieraecherin on morgueFile
Text: (p in Gill Sans) This is a write up about your little town. Feel free to borrow from the text below based on Apalachicola, Florida and borrowed from a SmarterTravel:
Name, Country
Population: 2,231 The Catch: Oysters, shrimp, redfish, mullet
In its 19-century heyday, this northwestern [name of country] town was the third largest port of the Gulf of [name]. Today more than 900 historical homes and buildings remain. Old net factories and ship chandleries are now trendy shops, restaurants, and galleries; meticulously restored homes are B&Bs. But [name of town] is hardly a polished tourist area like nearby [name] Island. Nearly half of the hardworking locals wear rubber oyster boots around town. They harvest oysters (90% of those sold in [name of country]) by hand with large tongs in small wooden skiffs. Spend an afternoon on the beach, kayaking the Forgotten Coast barrier islands, or at the 1921 Dixie Theatre. Local Eats: Hole in the Wall Seafood & Raw Bar serve some of the freshest local oysters, and the popular buttermilk pie sells out almost daily. For a table overlooking the [name] River, try Owl Cafe or Boss Oyster.
A table of 3 x 3 images (each square 200px x 200px or 250px x 250px) found on morgueFile cropped in morgueFile and transformed into HTML. Copy the HTML code and insert the link to the photo into your HTML file.
List of ten reasons to visit the seaside town (make them up and make them fun)
Use the TryIt Editor to edit the file and then save your file with TextEdit (or Notepad) as a HTML with the text set as Plain Text and UTF-8.
I am glad to announce that MyKangan is now fully functional. You will still be able to visit the content on this WordPress blog. Above are the links to previous classes.
So, you might feel like you are starting to get a feel for how to use HTML in TextEdit (or NotePad). HTML is reasonably easy as long as you approach it systematically. The content for today’s class is directly related to the chapters in W3Schools HTML Tutorials: HTML CSS, HTML Images, HTML Tables and HTML Lists. You can simply click on the links for each point below.
Last week we looked at the three ways to include CSS styles in an HTML document. Today we will just look at external CSS documents (created in a text editor). By now you should be aware of the benefits of using external CSS documents:
It is easy and faster to createone CSS stylesheet and having the link to in each HTML document
It is faster to change one CSS stylesheet than changing the CSS code in numerous HTML documents
Obviously you have learned in last week’s class that you place a link to an external CSS style sheet into the head of a HTML document:
<body>
<h1>The text in this heading is formatted in an external stylesheet called styles.css</h1>
<p>The paragraph text is formatted by the same external stylesheet</p>
</body>
</html>
Please notice the difference between the Head and Body sections of the HTML file. The Head element includes only the link to the CSS stylesheet. Think for a moment and ask yourself what other components you could place in the Head section! (We covered that in last week’s class)
The Body section has all the visible parts of the website. The heading and the paragraph.
A CSS stylesheet uses different brackets:
[NOTE: This is code for an external CSS, created in a text editing program like TextEdit or NotePad and saved as styles.css]
body {background-color:#98FB98;}
h3 {color:#000080; text-align:center;}
p {color:#000080; text-align:center;font-family:”Garamond”; font-size:20px;}
This stylesheet specifies
the colour of the background
the text colour of the h3 heading
a central alignment for the h3 heading
the text colour of the paragraph
the alignment of the paragraph and
the font of the paragraph: Garamond at 20px
Please note that more properties can be added to a line with a semi colon in between, before the closing bracket place a semi colon.
Click on the image to view the syntax (style of writing) of a CSS document on W3Schools:
This section is looking at how to insert an image into a website.
In HTML you need to use an image tag: <img>
The <img> tag is empty which means that it does not need a closing or end tag. The reason is that you are only inserting one image per <img> tag, so there is no need for an end tag.
After the tag you will need to insert attributes:
src: this is the Source attribute, which defines where the browser will find the image to upload. This will be a url (web address) if your HTML, CSS and image files have been uploaded to the url.
So, notice that the closing bracket is not placed right after img, but after all the attributes. It is smart to put all your images in an image folder. The example shows that the image is a GIF and it is placed in the images folder. Make sure to specify the path with a forward slash / and always check your spelling. If your images folder is called images and you mistakingly spell: <img src=”http://www.w3schools.com/image/boat.gif”> the image will not display!
Besides the image you will want to display alternate text. Alternate text will show if the image does not load, the attribute is: alt=”image name”. See the revised example:
Let us also look at the option of you working from your computer. The website has not been uploaded, so it is still sitting on your computer. The reference to the image location is always relative to where you have the HTML file. All this means is if you have your HTML file on your USB in a folder called “HTML class” and your image in a folder called images (inside the HTML class folder) – do you follow?- this would be the src attibute:
Illustration by Gary Neill found on Dzineblog.com – http://garyneill.com/ http://garyneill.tumblr.com/
Photo by agathabrown on morgueFile
Mosaic of Sofia Coppola – by Maurizio Galimberti – www.mauriziogalimberti.it
Vertical lines of a dark fence, image courtesy of p.ic – Photo Internet Collection – www.photoic.wordpress.com, photographer: Federico Viola
Illustration by Jessie Ford, found on DzineBlog.com
Typographic with Colours and Photos – The use of large numbers is effective and the low opacity of the boxes works, personally, I find it looks a bit dated- found at: JuxtaPost.com
The gentle curve of the river and the light green tones of the grass give this image a calming feel. The montains and the clouds have a less calming effect. Image: courtesy of Icon Photography School – http://www.photographyicon.com/line/
Image Source: www.photoshopessentials.com
Work by Jo W
Close-up at Fed Square, Federico Viola 2013
Multimedia Production Cycle – This image is under the Creative Common Agreement, you can use it but will need to reference this site: www.classoffederico.wordpress.com
From ‘Henri’s Walk to Paris’ 1962 – children’s book by Saul Bass Found at: Brainpickings.org
Only practice will help you learn! Photo by BreonWarwick on morgueFile
Work by Egon Schiele, found at Mom.org
Study – Lines and Grace Kelly – by Federico Viola photo: courtesy of GettingCheeky.com and curved lines wallpaper: courtesy of FreeFever.com
Using the Reflect tool (o) to reflect the i downwards as if it has collapsed in front.
Courtesy of The Art of Mass Effect Universe’, 2012
Source: morgueFile, Photo by matei
Poppies – Vector art Federico Viola based on photo by hotblack from morgueFile
Photo by mcconnors on morgueFile
Illustrator unknown – found at: Ephemera – World of Rare Books
Photo by frenchbyte on morgueFile
A Beautiful Piece by Aerosol found on his Facebook
Illustration: Jamie McKelvie – Suburban Glamour Comic Series
“Step into my office” Source: The Age, click image for link
Setting the grid up.
Peace- Swiss International Style Reference – by Maryam Chananeh
Contemporary design in style of Construcitvism by Teo Brito found at LauraGreen92 – click image for more information and link to her blog
Custom Shapes and Custom Shape Icon
Layers in Photoshop are like a Collage of images stuck on top of each other…
Photo Montage by SGlider12 on Webdesign.org – Click image for great Gimp tutorial
Uncle Sam Wants You, WWI Propaganda Poster for US Army recruits, Design by James Montgomery Flagg, 1916, image found at: Live Auctioneers
Screenshot – 82 Everyone is a Marketer by Seth Godin from What’s Your Story by Joyce Hostyn
The Glossy Reflection is transparent on top and gets whiter towards the bottom.
Britons, Lord Kitchener Wants You! Propaganda poster design from WWI by Alfred Leere. Image: courtesy of WorldWarEra.com
Found at Inc.com
Concept for Gallery Screnshot
The Face by drfranken found on ChromoArt.de
Swiss International Style – Joseph Müller-Brockmann – Beethoven – found at www.designhistory.com
The swirls in the image are made up of numerous lines. Courtesy of: www.openprocessing.org
Text and Shapes – This design lends itself to an interactive use – found at: Klafferty.com
From ‘Henri’s Walk to Paris’ 1962 – children’s book by Saul Bass Found at: Brainpickings.org
Based on photo by hotblack from morgueFile.com
Text-based Table of Content – Very Graphic and Black and White- found at: Smashing Magazine (click image for inspiring article on table of content design)
Milk Poster – Swiss International Style Reference – by Annabel Stephen Salip
Photo by Seemann on morgueFile.com
Illustration by Kate Miller, found on DzineBlog.com
Photo by matthewbridges on morgueFile.com
Experimental Photomontage by Robert Heinecken
Finding the Right Candidate for a Job… – Photo AdamRiley from www.projectnoah.org
Photo by mconnors on morgueFile
Work by Justin Anderson
Good Morning! Photo: wallyir, from: morgueFile.com
Jenga, photo courtesy of: Design-Crit.com
Illustration: Tavis Coburn – Illustration for for an article predicting trends in Apple’s mobile strategy. Found on: TavisCoburn.com
Light Streaks – Courtesy of: PhotoshopEssentials
Michael Pointing in GTA V – Courtesy of Rockstar
Vista Lighting Effect – Courtesy of: Tutorial9
Examples of Output and Display for web-content. Image: live.surveyshack.com
Image from morgueFile by lemai13
Illustration: Jamie McKelvie – Art Brut Record
Based on image by hotblack on morgueFile.com – F.Viola
Couple found at http://frenchbydesign.blogspot.com.au
Photo by DTL on morgueFiles
This is a template for a business website found at TemplateMonster. It is interesting in the sense that it breaks up the main image as part of the navigation. The sound it comes with is annoying.
The grass layer has been turned into a clipping mask with the shape of the rabbit below.
The concept was used on the German side as well with this ‘Auch du sollst beitreten zur Reichswehr’ [You too should join the German Army], design by Julius Engelhard, Image: courtesy of mental_floss
‘For Great Road Trips: Switzerland’ Poster by Herbert Matter in (Swiss) International Style – Source: http://swisstype.wordpress.com/work/
Based on photo by dhester from morgueFile.com
Some of us have there most enjoyable moments in nature at the beach, Photo by rivediamoci on morgueFiles
Table of Content from Textbook – This design lends itself to an interactive use – found at: Smashing Magazine (click image for inspiring article on table of content design)
Steel Curves, Image: courtesy of flickr.com, photographer: Margeois.
Swiss travel poster from 1934 by Herbert Matter – Source: http://swisstype.wordpress.com/work/
Photo by ariadna on morgueFile
Free Transform and Ctrl – I am loving it!!!
Courtesy of The Art of Mass Effect Universe’, 2012
Based on a photo by delboysafa from morgueFile.com
Photo by clarita on morgueFile
He loves OHS! – Photo by Karpati Gabor on morgueFile
Photo by dharder on morgueFiles.com
Your Lipstick Needs You, an entertaining take by Digital Media Artist Samantha Cain. Courtesy of: Samantha Cain, http://www.behance.net/samanthacain
Screenshot from What’s Your Story by Joyce Hostyn
Photomontage: Amir Ebrahim Photography
Example of applied changes
Illustration by Tavis Coburn found on DzineBlog.com
Illustration by Gary Neill found on P.A.P.-Blog – http://garyneill.com/ http://garyneill.tumblr.com/
Fruity Design – This is great for a menu, very appetizing thumbnails – found at: WeddingPhotography.com
The underlined text and insertion point at end of the word indicates that you are still in the type mode.
Study – Lines and Grace Kelly – by Federico Viola photo: courtesy of GettingCheeky.com and curved lines wallpaper: courtesy of FreeFever.com
What Time is it Now? by King_Bobbles
Based on photo by xandert found on morgueFile
Outlined text changed in size and colours dropped into the individual letters with Eyedropper tool using LMB + Alt
Pink Ribbon Day – Swiss International Style Reference – by Hwan Rochanabuddhi
Grassy Rabbits
I Want You – Emily Strange, The lovable Emily Strange came to life in 1991, designed by Nathan Carrico for Santa Cruz Skateboards. She is referred to as a counterculture icon. I would just call her a sceptic. Image found at: Kollectable Kaos
Image source: Data Center Knowledge
Colours, Numbers and Boxes – very happy and alive, personally I do not like the distortion of the word content – found at: Flickr
Geese in Ameland, Photo by Frans Schouwenburg
Leonardo’s St. John the Baptist, Louvre, Paris, Image: courtesy of A World History of Art – www.all-art.org
Illustration by Jessie Ford, found on DzineBlog.com
Colourful Table of Content – Ribbons in Primary Colours – found at: LifeBlue.com
Text and Shapes – This design lends itself to an interactive use – found at: Smashing Magazine (click image for inspiring article on table of content design)
ruthworkx -http://ruthworkx.files.wordpress.com
Screenshot of Endless Alphabet 2, courtesy of AppsPlayground.com
Constructivism Reference – by Lylah Livingston
The calming effect of horizontal lines, image: courtesy of flickr.com, Photographer: jaikdean