User requirements (visual layout, navigation, selection, consistency, interactivity, readability)
Category: Information System Design and Development
Structures and links (web based)
- Website, page, URL
- Hyperlink (internal, external) relative and absolute addressing
- Navigation
- Web browsers and search engines
- Good design to aid navigation, usability and accessibility
National 5 – Information System Design and Development (Revision)
The following concepts and vocabulary may apply to a range of information systems types and contexts including:
Databases, websites, games, mobile applications, kiosk systems
A supporting video playlist can be found on YouTube.
- Structures and links (database)
- Structures and links (web based)
- User interface (also applies to SDD)
- Media Types
- Coding
- Testing
Structures and links (database)
- Database structure: field, record, file
- Database structure: flat file, linked tables, primary keys, foreign keys
- Field types (text, numbers, date, time, graphic, object, calculated, link, boolean)
- Validation (presence check, restricted choice, field length, range)
- Database operations search, sort (on multiple fields)
- Good design to avoid data duplication and modification errors (insert, delete, update)
HTML – Lists
A HTML list is composed of two types of tag
List Type
This tag tells the browser what type of list we will be displaying. the two main types are
Unordered List <ul></ul>, this list displays bullet point. It is used when you do not want to give a ranking to the list items.
- Item 1
- Item 2
- Item 3
Ordererd List<ol></ol>, this list is numbered. This is used when you want to give a ranking to the pages.
- Item 1
- Item 2
- Item 3
List Item
The list type must be placed around the List Item <li></li>, the browser will then display the items with the format specified from the list type.
Unordered List example
<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>
Ordered List example
<ol> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ol>
Design notations (also applies in ISDD)
- Pseudocode to exemplify programming constructs
- Graphical to illustrate selection and iteration
- Other contemporary design notations:
HTML – Hyperlinks
The H in HTML stands for Hyper,but what does that mean?
Hypertext is text which can link to other files, this is called a hyperlink. A hyperlink is composed of two parts, the anchor and the destination.
<a href=”http://www.google.com”>Google</a>
In the example above the anchor tag <a></a> is used to set an object (text or image) as an anchor, in this case Google. The href attribute is used to identify the destination of the link, in this case http://www.google.com. This is called an external hyperlink as the destination is on another server. If you were linking to a file on the same server then the internal hyperlink would be.
<a href=”page1.html”>Page 1</a>
The anchor tag can be placed around other HTML elements such as images.
<a href=”http://www.google.com><img src=”googleLogo.png”></a>
This would place a border around the image indicating that it is an anchor.
You can specify where to open the linked document using the target attribute.
Value | Description |
---|---|
_blank | Opens the linked document in a new window or tab |
_self | Opens the linked document in the same frame as it was clicked (this is default) |
_parent | Opens the linked document in the parent frame |
_top | Opens the linked document in the full body of the window |
So if you want the Google link above to open in a new tab you would change it to.
<a href=”http://www.google.com” target=”_blank”>Google</a>
HTML – Images
To add a picture to a HTML page we use the <img> tag. This tag creates a holding space for the image to be included on the page. This tag does not need to be closed.
The tag uses a number of attributes but two of them are required. SRC tells the browser the location and file name of the image file (its source). ALT is the alternative text that is displayed if the picture fails to load.
So the HTML code to display the image above is
<img src=”HScomp.jpg” alt=”Homer at computer”>
This assumes that the image is in the same folder as the HTML file.
If the image is the wrong size then you can use the height and width attributes to scale the picture.
<img src=”HScomp.jpg” alt=”Homer at computer” width=200>
Would make the image 200 pixels wide while keeping the aspect ratio correct by automatically scaling the height by the correct percentage.
HTML Help
The following posts might help you with HTML revision
HTML Sample 1
This HTML file shows a sample use of the tags shown in the last post. Notice that the tags open and close without crossing over (this is shown after the jump). Copy and paste the code into Notepad++ and save it as Sample.HTML.
<!DOCTYPE html>
<html>
<head>
<title>HTML Sample 1</title>
<meta charset=”UTF-8″/>
</head>
<body>
<h1>HTML Sample 1</h1>
<p>This sample HTML file uses <strong>all</strong> the tags covered in <em>Nat 5 – Common HTML Text Tags</em></p>
</body>
</html>