Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ISI Programming Course - 01 - HTML

Jungwon Seo
September 03, 2018

ISI Programming Course - 01 - HTML

Jungwon Seo

September 03, 2018
Tweet

More Decks by Jungwon Seo

Other Decks in Technology

Transcript

  1. • HTML is a format to express complicated information with

    a rule. Attribute value HTML is a format <a href="https://www.wikipedia.org/">A link to Wikipedia!</a> Element Opening tag Closing tag Content Attribute Attribute name
  2. • Without a web browser, HTML file is just a

    text file. • Web browser understands the HTML language and renders it to show the website to the human user. Web Browser
  3. HTML Tags • The basic elements that make up HTML.

    • There are many tags, but you don’t need to memorize everything.(https://www.w3schools.com/tags/) • However, it is important to use each tag for each purpose. (http://www.hospitalsites.org/blog/-the-most-common-html-tags) The list of the top 10 most used tags is as follows
  4. Search Engine Optimization • Make your website more visible in

    search engines (e.g., Google) • Often referred to as "natural", "organic", or "earned" results • If you don’t use proper tags for some contents, it is difficult for the search engine to prioritize the content. <div>This is just image description</div> <div>This is a title</div> <div>This is a description</div> Which line is the most important content?
  5. HTML Document Structure <!DOCTYPE html> <html> <head> .. </head> <body>

    .. </body> </html> Metadata (information) Actual content
  6. Things to keep in mind • Use lowercase when you

    write tags. • Double check the spelling. • Match the pair (opening and closing tag) correctly. • Try to use copy and paste instead of typing everything. • Indent your html. • Google it first!
  7. Exercise-2: <div> • A div tag defines a division (or

    section) of a HTML document. • You can make most things with div. • You can change Color, size, gap, position, etc. Source Code Link
  8. Exercise-3: <span> • How can we change the color of

    this word in HTML? • block-level element vs. inline element Source Code Link
  9. Exercise-4: <img> • How to link a local file and

    remote file. • How to make a circular image. Source Code Link
  10. Exercise-5: <a> • The anchor tag is used to link

    the other page or other parts of a page. • Move to other parts. • Move to other pages. • Open from a new tab. Source Code Link
  11. Exercise-6: <table> • It’s just a table with row and

    column. • <table>, <thead>, <tbody>, <tr>, <td>, <th> • coldspan, rowspan • It’s useful when keeping the arrangement of the containers. Source Code Link