{"id":39,"date":"2019-07-15T05:57:25","date_gmt":"2019-07-15T05:57:25","guid":{"rendered":"https:\/\/www.webhozz.com\/code\/?p=39"},"modified":"2019-09-03T11:56:22","modified_gmt":"2019-09-03T11:56:22","slug":"formating-text-dengan-html","status":"publish","type":"post","link":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/","title":{"rendered":"HTML : Formating Text"},"content":{"rendered":"\n<p>HTML menyediakan beberapa tag yang dapat digunakan untuk membuat beberapa teks menjadi berbeda, misalnya kalian dapat menggunakan tag &lt;b&gt; untuk membuat teks bold, tag &lt;i&gt; untuk membuat teks italic, beri tag &lt;mark&gt; untuk membuat teks yang disorot\/ditandai, beri tag &lt;code&gt; untuk menampilkan fragmen kode komputer, tag &lt;ins&gt; untuk membuat teks yang telah dimasukkan ke dalam dokumen, dan &lt;del&gt; untuk menghapus teks dari dokumen, dan banyak lagi. <\/p>\n\n\n\n<p>Contoh berikut menunjukkan tag format yang paling umum digunakan dalam penerapannya. Sekarang, mari kita coba contoh tag berikut:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;p&gt;This is &lt;b&gt;bold text&lt;\/b&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;strong&gt;strongly important text&lt;\/strong&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;i&gt;italic text&lt;\/i&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;em&gt;emphasized text&lt;\/em&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;mark&gt;highlighted text&lt;\/mark&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;code&gt;computer code&lt;\/code&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;small&gt;smaller text&lt;\/small&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;sub&gt;subscript&lt;\/sub&gt; and &lt;sup&gt;superscript&lt;\/sup&gt; text.&lt;\/p&gt; \n&lt;p&gt;This is &lt;del&gt;deleted text&lt;\/del&gt;.&lt;\/p&gt; \n&lt;p&gt;This is &lt;ins&gt;inserted text&lt;\/ins&gt;.&lt;\/p&gt;\n<\/pre><\/div>\n\n\n<p>Secara default, tag &lt;strong&gt; biasanya ditampilkan di browser sebagai &lt;b&gt;, sedangkan tag &lt;em&gt; diterjemahkan sebagai &lt;i&gt;. Bagaimanapun, ada perbedaan arti pada kedua tag ini.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Perbedaan antara tag &lt;strong&gt; dan tag &lt;b&gt; <\/strong><\/h4>\n\n\n\n<p>Tag &lt;strong&gt; menunjukkan bahwa isi kontennya memiliki sesuatu yang penting, sedangkan tag &lt;b&gt; hanya digunakan untuk menarik perhatian pembaca tanpa menyampaikan sesuatu hal yang penting di dalam kontennya.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;p&gt;&lt;strong&gt;WARNING!&lt;\/strong&gt; Please proceed with caution.&lt;\/p&gt; \n&lt;p&gt;The concert will be held at &lt;b&gt;Hyde Park&lt;\/b&gt; in London.&lt;\/p&gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Perbedaan antara tag &lt;em&gt; and tag &lt;i&gt;<\/strong><\/h4>\n\n\n\n<p>Tag &lt;em&gt; dan &lt;i&gt; merender teks terlampir menjadi tipe italic, tetapi tag &lt;em&gt; menunjukkan bahwa isinya lebih menekankan penekanan dibandingkan dengan teks di sekitarnya, sedangkan tag &lt;i&gt; digunakan untuk menandai teks yang memiliki maksud khusus seperti istilah teknis, ungkapan idiomatik dari bahasa lain, pemikiran, dll.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;p&gt;Cats are &lt;em&gt;cute&lt;\/em&gt; animals.&lt;\/p&gt; \n&lt;p&gt;The &lt;i&gt;Royal Cruise&lt;\/i&gt; sailed last night.&lt;\/p&gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Format Kutipan<\/strong><\/h4>\n\n\n\n<p>Tag<strong>&nbsp;&lt;blockquote&gt;&nbsp;<\/strong>digunakan\nuntuk bagian text yang merupakan kutipan panjang. Disebut kutipan panjang\nkarena tag ini merupakan&nbsp;<em>tipe\nblock element<\/em>, sehingga akan memisahkan diri dari text yang ada\nmenjadi baris baru. Tag&nbsp;<strong>&lt;blockquote&gt;<\/strong>&nbsp;lebih\ncocok digunakan untuk memberikan penegasan penting untuk kutipan.<\/p>\n\n\n\n<p>Blockquote umumnya ditampilkan dengan margin kiri dan kanan yang berlekuk, bersama dengan sedikit ruang tambahan yang ditambahkan di atas dan di bawah. Mari kita coba contoh untuk melihat cara kerjanya:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;blockquote&gt;\n    &lt;p&gt;Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.&lt;\/p&gt;\n    &lt;cite&gt;\u2014 Albert Einstein&lt;\/cite&gt;\n&lt;\/blockquote&gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Menampilkan Singkatan<\/strong><\/h4>\n\n\n\n<p>Singkatan adalah bentuk kata, frasa, atau nama yang\ndisingkat.<\/p>\n\n\n\n<p>Kalian dapat menggunakan tag &lt;abbr&gt; untuk menunjukkan singkatan. &lt;abbr&gt; digunakan bersamaan dengan atribut&nbsp;<code>title<\/code>&nbsp;yang menjelaskan kepanjangan dari singkatan tersebut dan tidak boleh berisi keterangan lain. Dan akan ditampilkan oleh browser sebagai tooltip ketika kursor mouse berada di atas elemen. Mari kita coba contoh berikut:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;p&gt;The &lt;abbr title=&quot;World Wide Web Consortium&quot;&gt;W3C&lt;\/abbr&gt; is the main international standards organization for the &lt;abbr title=&quot;World Wide Web&quot;&gt;WWW or W3&lt;\/abbr&gt;. It was was founded by Tim Berners-Lee.&lt;\/p&gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>Menandai Alamat Kontak<\/strong><\/h4>\n\n\n\n<p>Halaman web sering menyertakan alamat jalan atau kode pos. HTML\nmenyediakan tag khusus &lt;alamat&gt; untuk mewakili informasi kontak (fisik\ndan \/ atau digital) untuk individu ataupun organisasi.<\/p>\n\n\n\n<p>Tag ini idealnya digunakan untuk menampilkan informasi kontak yang terkait dengan dokumen itu sendiri misal seperti penulis artikel. Sebagian besar browser menampilkan blok alamat dalam huruf miring (italic). Berikut contohnya<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: xml; title: ; notranslate\" title=\"\">\n&lt;address&gt;\nMozilla Foundation&lt;br&gt;\n331 E. Evelyn Avenue&lt;br&gt;\nMountain View, CA 94041, USA\n&lt;\/address&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>HTML menyediakan beberapa tag yang dapat digunakan untuk membuat beberapa teks menjadi berbeda, misalnya kalian dapat menggunakan tag &lt;b&gt; untuk membuat teks bold, tag &lt;i&gt;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-39","post","type-post","status-publish","format-standard","hentry","category-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Belajar HTML : Formating Text - WebHozz Code<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Belajar HTML : Formating Text - WebHozz Code\" \/>\n<meta property=\"og:description\" content=\"HTML menyediakan beberapa tag yang dapat digunakan untuk membuat beberapa teks menjadi berbeda, misalnya kalian dapat menggunakan tag &lt;b&gt; untuk membuat teks bold, tag &lt;i&gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHozz Code\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-15T05:57:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-09-03T11:56:22+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"headline\":\"HTML : Formating Text\",\"datePublished\":\"2019-07-15T05:57:25+00:00\",\"dateModified\":\"2019-09-03T11:56:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/\"},\"wordCount\":444,\"articleSection\":[\"HTML\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/\",\"name\":\"Belajar HTML : Formating Text - WebHozz Code\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\"},\"datePublished\":\"2019-07-15T05:57:25+00:00\",\"dateModified\":\"2019-09-03T11:56:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/formating-text-dengan-html\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML : Formating Text\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#website\",\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/\",\"name\":\"WebHozz Code\",\"description\":\"Tutorial Web &amp; Pemrograman Indonesia\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/#\\\/schema\\\/person\\\/3b2b79dc317236b0dde4b1fda37263e1\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.webhozz.com\\\/code\\\/author\\\/dody\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Belajar HTML : Formating Text - WebHozz Code","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/","og_locale":"en_US","og_type":"article","og_title":"Belajar HTML : Formating Text - WebHozz Code","og_description":"HTML menyediakan beberapa tag yang dapat digunakan untuk membuat beberapa teks menjadi berbeda, misalnya kalian dapat menggunakan tag &lt;b&gt; untuk membuat teks bold, tag &lt;i&gt;","og_url":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/","og_site_name":"WebHozz Code","article_published_time":"2019-07-15T05:57:25+00:00","article_modified_time":"2019-09-03T11:56:22+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/#article","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/"},"author":{"name":"admin","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"headline":"HTML : Formating Text","datePublished":"2019-07-15T05:57:25+00:00","dateModified":"2019-09-03T11:56:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/"},"wordCount":444,"articleSection":["HTML"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/","url":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/","name":"Belajar HTML : Formating Text - WebHozz Code","isPartOf":{"@id":"https:\/\/www.webhozz.com\/code\/#website"},"datePublished":"2019-07-15T05:57:25+00:00","dateModified":"2019-09-03T11:56:22+00:00","author":{"@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1"},"breadcrumb":{"@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhozz.com\/code\/formating-text-dengan-html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhozz.com\/code\/"},{"@type":"ListItem","position":2,"name":"HTML : Formating Text"}]},{"@type":"WebSite","@id":"https:\/\/www.webhozz.com\/code\/#website","url":"https:\/\/www.webhozz.com\/code\/","name":"WebHozz Code","description":"Tutorial Web &amp; Pemrograman Indonesia","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhozz.com\/code\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.webhozz.com\/code\/#\/schema\/person\/3b2b79dc317236b0dde4b1fda37263e1","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f222cb0ed38f2100d666bb262fd38d4f0d8e5673698208e40ff83118f10a4e8e?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.webhozz.com\/code\/author\/dody\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/39","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/comments?post=39"}],"version-history":[{"count":4,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/39\/revisions"}],"predecessor-version":[{"id":398,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/posts\/39\/revisions\/398"}],"wp:attachment":[{"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/media?parent=39"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/categories?post=39"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhozz.com\/code\/wp-json\/wp\/v2\/tags?post=39"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}