Presentation is loading. Please wait.

Presentation is loading. Please wait.

HTML Code-Conventions Johannes Schulte and Stefan Broda.

Similar presentations


Presentation on theme: "HTML Code-Conventions Johannes Schulte and Stefan Broda."— Presentation transcript:

1 HTML Code-Conventions Johannes Schulte and Stefan Broda

2 Index zHTML Code Conventions zUnix File Names zUnix File Permissions zExample

3 Rules zFilename: yBad: „foo.bar“ yGood: „foo.html“ zCommand Tags: yBad: This Text is emphazised yGood: This Text is emphazised

4 Rules zIndentation: yAlways indent lines by tabs or spaces when beggining with a new command tag yEspecially Tables!

5 Rules zLinks: yBad: Sth yGood: Sth zCompulsory Tags: yAlways border your file with the tag yWrite the header definitions within the tag zCompulsory Tags : yAlways define the document title with the tag yDefine Background / Text / Link colors using the body tag

6 Unix File Names and Permissions Suttinee Kaewsuwan and Dennis Damer

7 Introduction to Unix Filenames zOwn way of keeping track of files & directories zFlexible, but specific rules need to be followed zDoes not distinguish between files and directories

8 Creating a Filename zUp to 14 characters long, may include: y1.{a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z} y2.{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} y3.{period (.), underscore(_), comma(,)}

9 Watch Out! Part I zDo not name a file period (.) or period period (..) zAvoid naming a file the same as a Unix command zUnix is case sensitive, avoid upper case

10 Watch Out! Part II zUse widely known file extensions (eg. txt or doc) yFile extensions not obligatory zStart a file with a letter or a number yPeriod (.) makes it a hidden file

11 Introduction to Unix File Permissions zUnix servers platforms for lots of users at the same time yworking or just surfing the internet zcontrol access to your files

12 Setting File Permissions zUnix chmod command zthree digits to describe permission level y1st digit: for owner y2nd digit: for group (set up by owner) y3rd digit: world (the rest, e.g. internet users)

13 Setting File Permissions II y0 = no permission y 1 = execute only y2 = write only y3 = write and execute y4 = read only y5 = read and execute y6 = read and write y7 = read, write and execute $ chmod 700 bba.txt $ chmod 744 bba.txt


Download ppt "HTML Code-Conventions Johannes Schulte and Stefan Broda."

Similar presentations


Ads by Google