آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

39
ت ی سا ی وب ح را ط ش وز م ا ه ی ل م او ی ه ا ف م ی ف ر مع ه اول – س ل ج ی وب ح را ط س ی دز ت د رت گی ت ماش ت ر ی س0 ی2 ب عاب لا ط رای ا ب او ت ماش: ت مازه ش09125773990 09371410986 I ک ی ن رو کی ل ا ت سQ ی: [email protected]

Upload: hesper

Post on 22-Feb-2016

63 views

Category:

Documents


5 download

DESCRIPTION

آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه. تدریس طراحی وب برای اطلاعات بیشتر تماس بگیرید تاو شماره تماس: 09125773990 09371410986 پست الکترونیک : [email protected]. Web Design Training. Web Pages: Static Web Page Dynamic Web Page. Web Pages: Static Web Page : HTML Page - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

آموزش طراحی وب سایتجلسه اول – معرفی مفاهیم اولیه

تدریس طراحی وببرای اطالعات بیشتر تماس بگیرید

تاو09125773990شماره تماس:

09371410986 : پست الکترونیک

[email protected]

Page 2: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Web Design Training

Page 3: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Web Pages:

Static Web PageDynamic Web Page

Page 4: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Web Pages:

Static Web Page : HTML PageDynamic Web Page

Page 5: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

HTML

Hyper Text Markup Language

Example

Page 6: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<html><body>

<h1> My First Heading </h1>

</body></html>

Run

Page 7: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<html><body><a href=“http://www.asp.net”> <h1> My First Heading </h1></a></body>

</html>

Run

Page 8: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Web Pages:

Static Web Page Dynamic Web Page

Page 9: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Client Request

Page 10: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Receive information and send to Data base

Page 11: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Send to web server

Page 12: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Send HTML file to client

Page 13: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

❑ HTML and XHTML

❑ CSS

❑ JavaScript

Page 14: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Tags and Elements

XHTML tags should always be written in lowercase letters.

Page 15: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<html><head>

<title>Popular Websites: Google</title></head>

<body><h1>About Google</h1><p>...</p><p>Google’s mission is to organize the world’sinformation and make it universally accessible anduseful.</p><p>Its founders Larry Page and Sergey Brin startedGoogle at Stanford University.</p>

</body></html>

Page 16: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Separating Heads from Bodies

The <head> element: Often referred to as the head of the page, this contains information about

The <body> element: Often referred to as the body of the page, this contains the information you

Page 17: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Attributes Tell Us About Elements<html>

<head><title>Popular Websites: Google</title></head>

<body><h1>About Google</h1><p>Google is best known for its search engine, although Google now offers anumber of other services.</p><p>Google’s mission is to organize the world’s information and make ituniversally accessible and useful.</p><p>Its founders Larry Page and Sergey Brin started Google at StanfordUniversity.</p>

<p><a href=”http://www.Google.com/”>Click here to visit Google’s Website.</a></p>

</body></html>

Page 18: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه
Page 19: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Creating Headings Using hn Elements

Page 20: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<h1>Basic Text Formatting</h1><p> ….</p><h2>Whitespace and Flow</h2><p> ...</p><h2>Creating Headings Using hn Elements</h2><p> ….</p>

Page 21: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

The align Attributevalue description

left Aligns the text to the leftCenter Centers the textright Aligns the text to the rightjustify Stretches the lines so that each line has

equal width (like in newspapers and magazines)

Page 22: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<h1 align=”left”>Left-Aligned Heading</h1><p>This heading uses the align attribute with a

value of left.</p><h1 align=”center”>Centered Heading</h1><p>This heading uses the align attribute with a

value of center.</p><h1 align=”right”>Right-Aligned Heading</h1><p>This heading uses the align attribute with a

value of right.</p>

Page 23: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Creating Line Breaks Using the <br /> Element

Page 24: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Presentational Elements

• The <b> Element• The <i> Element• The <u> Element (deprecated)• The <s> and <strike> Elements (deprecated)• The <sub> Element• The <big> Element• The <small> Element• The <hr /> Element

Page 25: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

?• <em> and <strong>• <blockquote>, <cite>, and <q>• <abbr>, <acronym>, and <dfn> for• <code>, <kbd>, <var>, and <samp>• <address• <em>• <strong>• <abbr>• <acronym>

Page 26: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

• The following word uses a <b>bold</b> typeface.

• The following word uses an <i>italic</i> typeface.

• ….

Page 27: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

• Written on the 31<sup>st</sup> February.• The EPR paradox<sub>2</sub> was devised

by Einstein, Podolsky, and Rosen.• The following word should be

<big>bigger</big> than those around it.• The following word should be

<small>smaller</small> than those around it.• <hr />

Page 28: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Lists

• Unordered lists: which are like lists of bullet points

• Ordered lists: which use a sequence of numbers or letters instead of bullet points

• Definition lists: which allow you to specify a term and its definition

Page 29: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Using the <ul> Element to Create Unordered Lists

<ul><li>Bullet point number one</li><li>Bullet point number two</li><li>Bullet point number three</li>

</ul>

Page 30: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Ordered Lists

<ol><li>Point number one</li><li>Point number two</li><li>Point number three</li>

</ol>

Page 31: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Valuefor type Attribute Description Examples

1 Arabic numerals (the default)

1, 2, 3, 4, 5

A Capital letters A, B, C, D, E

a Small letters a, b, c, d, e

L Large Roman numerals I, II, III, IV, V

i Small Roman numerals i, ii, iii, iv, v

Page 32: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<ol type=”i”><li>This is the first point</li><li>This is the second point</li><li>This is the third point</li>

</ol>

Page 33: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<ol type=”i” start=”4”><li>Point number one</li><li>Point number two</li><li>Point number three</li>

</ol>

Page 34: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Definition Lists

Dt definition titleDc dominion content

Page 35: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<dl><dt>Unordered List</dt><dd>A list of bullet points.</dd>

<dt>Ordered List</dt><dd>An ordered list of points, such as a numbered set

of steps.</dd>

<dt>Definition List</dt><dd>A list of terms and definitions.</dd>

</dl>

Page 36: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

Nesting Lists<ol type=”I”>

<li>Item one</li><li>Item two</li><li>Item three</li><li>Item four<ol type=”i”><li>Item 4.1</li><li>Item 4.2</li><li>Item 4.3</li></ol></li><li>Item Five</li>

</ol>

Page 37: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<html> <head> <title>onMouseOver</title>

</head> …..<html>

Page 38: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

<body> <p align="center" dir="rtl">&nbsp;</p> <form> <p align="center"> <button id="testbutton" onMouseOver="alert('This is

onMouseOver event.')">move your mouse over here </button> </p> </form>

<p align="left" dir="rtl">&nbsp;</p> </body></html>

Page 39: آموزش طراحی وب سایت جلسه اول – معرفی مفاهیم اولیه

The NED