1 / 12

HTML/CSS Session 2

HTML/CSS Session 2. Mostafa Sotoodeh Moghadam. This Session Consist :. Basic HTML Tags <html> <head> <body> <p> < br /> heading tags <h1> , <h2> , … comment <!-- --!> <hr /> HTML Atribute. Basic HTML Tags- <html>.

owen
Download Presentation

HTML/CSS Session 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. HTML/CSSSession 2 Mostafa Sotoodeh Moghadam

  2. This Session Consist : Basic HTML Tags <html> <head> <body> <p> <br/> heading tags <h1> , <h2> , … comment <!-- --!> <hr/> HTML Atribute

  3. Basic HTML Tags- <html> In every Programming languages we need a main scope for developing our program. In HTML/CSS <html> tag is main scope. For every web page we need this tag in top of our code after <!DOCTYPE>.

  4. Basic HTML Tags- <head> Every HTML code we have two submain tags : <head> and <body> <head> : Some special tags are declared in head tag. Most of them don’t seen in web pages. But there are so important for our webpages foundations. Such as : <title> (it appear as a webpage title in browsers) <link> , <script> , <meta> , <style>

  5. Basic HTML Tags- <body> <body>: All the tags that decorate our webpages are written in this tag scope.

  6. Basic HTML Tags- <p> <p> : P means paragraph in HTML. We all understand that all text without any tag are shown same in our browser. But we must use <p> tag in our codes.

  7. Basic HTML Tags- <br/> <br/> : Break line !! 

  8. Basic HTML Tags- heading<h1,…> Heading : In HTML we have some tag for our title in text. <h1> , <h2> , <h3> , … H1 is the biggest and h6 is smaller one… We shouldn’t use heading for bolding our text…

  9. Basic HTML Tags- comment <!.. ..!> Comment is clear as crystal :D <!.. This is comment azizam !..>

  10. Basic HTML Tags- <hr/> <hr/> Create a horizontal line…

  11. Html Atribute HTML tags can have attributes. Attributes provide additional information to an HTML element. Attributes always come in name/value pairs like this: name="value". Attributes are always specified in the start tag of an HTML element.

  12. Html Attribute- example <body> <h1 align = “center”> sample for center </h1> </body>

More Related