<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Html5 on Nazım Can Altınova</title>
		<link>https://canaltinova.com/blog/tags/html5/</link>
		<description>Recent content in Html5 on Nazım Can Altınova</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 25 Nov 2014 03:11:49 +0200</lastBuildDate>
		
			<atom:link href="https://canaltinova.com/blog/tags/html5/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>HTML5 Contenteditable Attribute&#39;ü ile Değiştirilebilir CSS</title>
				<link>https://canaltinova.com/blog/posts/html5-contenteditable-attributeu-ile-degistirilebilir-css/</link>
				<pubDate>Tue, 25 Nov 2014 03:11:49 +0200</pubDate>
				<guid>https://canaltinova.com/blog/posts/html5-contenteditable-attributeu-ile-degistirilebilir-css/</guid>
				<description>&lt;h4 id=&#34;contenteditable-attribute-ü-nedir&#34;&gt;contenteditable attribute&amp;rsquo;ü nedir?&lt;/h4&gt;&#xA;&lt;p&gt;&lt;strong&gt;HTML5&lt;/strong&gt; ile birlikte gelen attribute&amp;rsquo;lerden biri olan &lt;strong&gt;contenteditable&lt;/strong&gt;, hangi elemente eklenmişse o elementin içeriğinin değiştirilebilir olmasını sağlıyor. Tamamen client tarafında yapılan bu değişiklikler herhangi bir yerde saklanmıyor ve sayfayı yenilediğimiz zaman kayboluyor. Contenteditable; true, false ve inherit olmak üzere 3 değer alabilir. Varsayılan değeri ise inherit.&lt;/p&gt;&#xA;&lt;p&gt;Bir örnek vermek gerekirse:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-html&#34; data-lang=&#34;html&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#75715e&#34;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;lang&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;tr&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;meta&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;charset&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;UTF-8&amp;#34;&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;Contenteditable Örneği&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;title&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;head&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#x9;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;class&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;title&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;contenteditable&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;true&amp;#34;&lt;/span&gt;&amp;gt;Merhaba Dünya!&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;div&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;body&lt;/span&gt;&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;html&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#xA;&lt;p&gt;Yukarıdaki örnekte, title class&amp;rsquo;ına sahip div&amp;rsquo;imize &lt;code&gt;contenteditable=&amp;quot;true&amp;quot;&lt;/code&gt; ekleyerek div&amp;rsquo;i değiştirilebilir hale getiriyoruz. Artık tarayıcımızda sayfayı açıp div&amp;rsquo;de değiştirmek istediğimiz yere tıklayarak içeriği değiştirebiliriz.&lt;/p&gt;</description>
			</item>
			<item>
				<title>HTML Imports (HTML İçe Aktarım) - Kısım 2</title>
				<link>https://canaltinova.com/blog/posts/html-imports-html-ice-aktarim-kisim-2/</link>
				<pubDate>Tue, 18 Nov 2014 18:47:25 +0200</pubDate>
				<guid>https://canaltinova.com/blog/posts/html-imports-html-ice-aktarim-kisim-2/</guid>
				<description>&lt;p&gt;&lt;strong&gt;Yazının birinci kısmına &lt;a href=&#34;https://canaltinova.com/blog/posts/html-imports-html-ice-aktarim-kisim-1/&#34;&gt;buradaki&lt;/a&gt; linkten ulaşabilirsiniz.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;web-componentlerinin-iletimi&#34;&gt;Web Componentlerinin iletimi&lt;/h3&gt;&#xA;&lt;p&gt;HTML Importlar, tekrar kullanılabilir içerikleri yükleyebilmek için tasarlanmıştır. Özellikle Web Componentlerinin dağıtımı için en ideal yoldur. Buna HTML &lt;code&gt;&amp;lt;template&amp;gt;&lt;/code&gt; etiketleri, Shadow DOM ve Custom Element&amp;rsquo;ler de dahil. Bütün bu teknolojiler bir araya geldiğinde HTML Import artık Web Component&amp;rsquo;lerimiz için bir #include gibi oluyor.&lt;/p&gt;&#xA;&lt;h4 id=&#34;template-leri-include-etmek&#34;&gt;Template&amp;rsquo;leri include etmek&lt;/h4&gt;&#xA;&lt;p&gt;HTML Template ile HTML Import birbirleriyle bir uyum içindedir. &lt;code&gt;&amp;lt;template&amp;gt;&lt;/code&gt; etiketi bizim import edilecek uygulamamızda HTML için gayet güzel bir iskelet görevi görüyor. Ayrıca içeriği &lt;code&gt;&amp;lt;template&amp;gt;&lt;/code&gt; içerisine almak, bizim içeriğimizin kullanılana kadar durağan bir şekilde kalmasını sağlıyor. Template&amp;rsquo;in içinde kalan scriptler ise DOM&amp;rsquo;a eklenene kadar çalışmıyor.&lt;/p&gt;</description>
			</item>
			<item>
				<title>HTML Imports (HTML İçe Aktarım) - Kısım 1</title>
				<link>https://canaltinova.com/blog/posts/html-imports-html-ice-aktarim-kisim-1/</link>
				<pubDate>Wed, 12 Nov 2014 23:30:54 +0200</pubDate>
				<guid>https://canaltinova.com/blog/posts/html-imports-html-ice-aktarim-kisim-1/</guid>
				<description>&lt;h3 id=&#34;neden-import&#34;&gt;Neden Import?&lt;/h3&gt;&#xA;&lt;p&gt;Web&amp;rsquo;de farklı türdeki kaynak dosyalarını nasıl yüklediğinizi düşünün. JavaScript için &lt;code&gt;&amp;lt;script src=&amp;quot;&amp;quot;&amp;gt;&lt;/code&gt; tag&amp;rsquo;ini kullanıyoruz. CSS için ise &lt;code&gt;&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;&amp;quot;&amp;gt;&lt;/code&gt; tag&amp;rsquo;ini kullanarak HTML sayfamıza kaynakları ekliyoruz. Bu örneklere resim, video ve ses dosyalarını da ekleyebiliriz. Peki makalemizde ne anlatmaya çalışıyoruz? Bu makalede kaynak dosyası olarak düşündüğümüz şey HTML ve biz bir HTML dosyasını başka bir HTML dosyasında çağırmayı öğreniyor olacağız. Peki daha önce bir HTML&amp;rsquo;i başka bir HTML dosyasında nasıl çağırıyorduk? Hemen bakalım:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
