{"id":788,"date":"2018-10-09T19:35:34","date_gmt":"2018-10-09T19:35:34","guid":{"rendered":"https:\/\/ucsbwebdev.fzilla.com\/?p=788"},"modified":"2018-10-09T20:44:43","modified_gmt":"2018-10-09T20:44:43","slug":"introduction-to-html-class-3","status":"publish","type":"post","link":"https:\/\/ucsbwebdev.fzilla.com\/?p=788","title":{"rendered":"Introduction to HTML &#8211; Class 3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">(please wait until class to go through this page!)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In today&#8217;s lesson<g class=\"gr_ gr_6 gr-alert sel gr_gramm gr_replaced gr_inline_cards gr_disable_anim_appear Punctuation only-ins replaceWithoutSep\" id=\"6\" data-gr-id=\"6\">,<\/g> we will begin to cover the basics of building websites. The first most important building block of a website is the HTML language, which allows us to give the browser instructions to render our website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Exercise 1: Add some boxes (div tags)<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the below code editor add some div tags, and see your resulting boxes!<\/p>\n\n\n<p class='codepen'  data-height='300' data-theme-id='32466' data-slug-hash='VEpKrN' data-default-tab='html,result' data-animations='run' data-editable='1' data-embed-version='2'>\nSee the Pen MakeSomeBoxes by Angel Grablev (@agrublev) on CodePen.<\/p>\n\n\n\n\n<h3 class=\"wp-block-heading\">Exercise 2: Add an image<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s utilize the self closing tag for adding an image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Add the <strong>img<\/strong>\u00a0tag and then add the\u00a0<strong>src\u00a0<\/strong>attribute with the value <strong>&#8220;http:\/\/x.co\/myimg&#8221;<\/strong><\/p>\n\n\n<p class='codepen'  data-height='300' data-theme-id='32466' data-slug-hash='VEpKrN' data-default-tab='html,result' data-animations='run' data-editable='1' data-embed-version='2'>\nSee the Pen MakeSomeBoxes by Angel Grablev (@agrublev) on CodePen.<\/p>\n\n\n\n\n<h3 class=\"wp-block-heading\">Exercise 3: My webpage<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s build a simple website by simply adding a number of div tags with the appropriate class names.<\/p>\n\n\n<p class='codepen'  data-height='568' data-theme-id='32466' data-slug-hash='vVxgdr' data-default-tab='html,result' data-animations='run' data-editable='' data-embed-version='2'>\nSee the Pen MyWebpage by Angel Grablev (@agrublev) on CodePen.<\/p>\n\n\n\n\n<p class=\"wp-block-paragraph\">The final result should look like this:<\/p>\n\n\n<p class='codepen'  data-height='469' data-theme-id='32466' data-slug-hash='NOpdoK' data-default-tab='html,result' data-animations='run' data-editable='' data-embed-version='2'>\nSee the Pen MyWebpageFinished by Angel Grablev (@agrublev) on CodePen.<\/p>\n\n\n\n\n<p class=\"wp-block-paragraph\">Please sign up for <strong>repl<\/strong>\u00a0by going to this link\u00a0<a href=\"http:\/\/x.co\/joinrepl\" target=\"_blank\">http:\/\/x.co\/joinrepl<\/a>\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There should be one assignment named &#8220;Simple Page for yourself&#8221; which is due next Tuesday!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>(please wait until class to go through this page!) In today&#8217;s lesson, we will begin to cover the basics of building websites. The first most important building block of a website is the HTML language, which allows us to give the browser instructions to render our website. Exercise 1: Add some boxes (div tags) In [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[],"class_list":["post-788","post","type-post","status-publish","format-standard","hentry","category-class-reference","category-exercises"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=788"}],"version-history":[{"count":6,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/788\/revisions"}],"predecessor-version":[{"id":797,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=\/wp\/v2\/posts\/788\/revisions\/797"}],"wp:attachment":[{"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ucsbwebdev.fzilla.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}