HTML Code-Conventions Johannes Schulte and Stefan Broda
Index zHTML Code Conventions zUnix File Names zUnix File Permissions zExample
Rules zFilename: yBad: „foo.bar“ yGood: „foo.html“ zCommand Tags: yBad: This Text is emphazised yGood: This Text is emphazised
Rules zIndentation: yAlways indent lines by tabs or spaces when beggining with a new command tag yEspecially Tables!
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
Unix File Names and Permissions Suttinee Kaewsuwan and Dennis Damer
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
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(,)}
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
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
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
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)
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