Professional Documents
Culture Documents
Ders II (2,3,4)
Ders II (2,3,4)
Ders II (2,3,4)
Ders II (2,3,4)
Created @December 2, 2021 7:23 PM
Tags
Heading
<h1> ila <h6> HTML öğeleri, altı bölüm başlığı düzeyini temsil eder. <h1> en yüksek bölüm düzeyidir ve <h6> en düşük
bölümdür.
- : The HTML Section Heading elements - HTML: HyperText Markup Language | MDN
The to HTML elements represent six levels of section headings. is the highest section level and is the
lowest. These elements only include the global attributes. Note: The align attribute is obsolete; don't use it.
Heading information can be used by user agents to construct a table of contents for a document
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements
<h1>Beetles</h1>
<h2>External morphology</h2>
<h3>Head</h3>
<h4>Mouthparts</h4>
<h3>Thorax</h3>
<h4>Prothorax</h4>
<h4>Pterothorax</h4>
Exercise 1
<!DOCTYPE html>
<html lang="en">
<head>
<title>Issanin Sayfasi</title>
</head>
<body>
<h1>Pangolin</h1>
<h2>Intro</h2>
Ders II (2,3,4) 1
<p>
Pangolins, sometimes known as scaly anteaters, are mammals of the order
Pholidota (from Ancient Greek φολῐ́ς, "horny scale"). The one extant
family, Manidae, has three genera: Manis, Phataginus and Smutsia. Manis
comprises the four species found in Asia, while Phataginus and Smutsia
include two species each, all found in Sub-Saharan Africa. These species
range in size from 30 to 100 cm (12 to 39 in). A number of extinct
pangolin species are also known.
</p>
<h2>Description</h2>
<p>
Pangolins have large, protective keratin scales covering their skin; they
are the only known mammals with this feature. They live in hollow trees or
burrows, depending on the species. Pangolins are nocturnal, and their diet
consists of mainly ants and termites, which they capture using their long
tongues. They tend to be solitary animals, meeting only to mate and
produce a litter of one to three offspring, which they raise for about two
years.
</p>
<h2>Poaching</h2>
<p>
Pangolins are threatened by poaching (for their meat and scales, which are
used in Chinese traditional medicine) and heavy deforestation of their
natural habitats, and are the most trafficked mammals in the world.As of
January 2020, of the eight species of pangolin, three (Manis culionensis,
M. pentadactyla and M. javanica) are listed as critically endangered,
three (Phataginus tricuspis, Manis crassicaudata and Smutsia gigantea) are
listed as endangered and two (Phataginus tetradactyla and Smutsia
temminckii) are listed as vulnerable on the Red List of Threatened Species
of the International Union for Conservation of Nature.
</p>
</body>
</html>
HTML Boilerplate
HTML'deki boilerplate, projenizin başlangıcında ekleyeceğiniz bir şablondur.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML 5 Boilerplate</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="index.js"></script>
</body>
</html>
Basic HTML5 Template: Use This HTML Boilerplate as a Starter for Any Web Dev Project
When you are building a new website, it is important to have a good starting foundation. In this article, I will
explain what an HTML 5 boilerplate is and how to create a basic template to use in your projects. What is an
HTML 5 boilerplate?According to Wikipedia, boilerplate
https://www.freecodecamp.org/news/basic-html5-template-boilerplate-code-example/
Lists
<ol> HTML öğesi, sıralı bir öğe listesini temsil eder - tipik olarak numaralı bir liste olarak işlenir.
<ol>
<li>Mix flour, baking powder, sugar, and salt.</li>
<li>In another bowl, mix eggs, milk, and oil.</li>
<li>Stir both mixtures together.</li>
<li>Fill muffin tray 3/4 full.</li>
<li>Bake for 20 minutes.</li>
</ol>
Ders II (2,3,4) 2
: The Ordered List element - HTML: HyperText Markup Language | MDN
The HTML element represents an ordered list of items - typically rendered as a numbered list. This element
also accepts the global attributes. This Boolean attribute specifies that the list's items are in reverse order.
Items will be numbered from high to low.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
<ul> HTML öğesi, genellikle madde işaretli liste olarak işlenen, sırasız bir öğe listesini temsil eder.
<ul>
<li>Milk</li>
<li>Cheese
<ul>
<li>Blue cheese</li>
<li>Feta</li>
</ul>
</li>
</ul>
Exercise 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<h1>Movies</h1>
<h2>My Top 3 Movies:</h2>
<ol>
<li>Amadeus</li>
<ul>
<li>icindeki</li>
</ul>
<li>Stand By Me</li>
<li>Amelie</li>
</ol>
<ul>
<li>Alien</li>
<li>Parasite</li>
<li>Annie Hall</li>
</ul>
Ders II (2,3,4) 3
</body>
</html>
Anchor Element
<a> HTML öğesi (veya bağlantı öğesi), href özniteliğiyle birlikte web sayfalarına, dosyalara, e-posta adreslerine, aynı sayfadaki
konumlara veya bir URL'nin adresleyebileceği herhangi bir şeye bir köprü oluşturur.
Her <a> içindeki içerik, bağlantının hedefini belirtmelidir. href özelliği mevcutsa, <a> öğesine odaklanılırken enter tuşuna
basılması onu etkinleştirir.
<ul>
<li><a href="https://example.com">Website</a></li>
<li><a href="mailto:m.bluth@example.com">Email</a></li>
<li><a href="tel:+123456789">Phone</a></li>
</ul>
Adding Images
<img> HTML öğesi, belgeye bir resim gömer.
<img class="fit-picture"
src="/media/cc0-images/grapefruit-slice-332-332.jpg"
alt="Grapefruit slice atop a pile of other slices">
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
Comments
Yorum arayüzü, işaretleme içindeki metinsel gösterimleri temsil eder; genellikle görsel olarak gösterilmese de bu tür yorumlar
kaynak görünümünde okunmak üzere mevcuttur.
Yorumlar, HTML ve XML'de <!-- ve --> arasında içerik olarak temsil edilir. XML'de, SVG veya MathML işaretlemesinde
olduğu gibi, bir yorumda ' -- ' karakter dizisi kullanılamaz.
Ders II (2,3,4) 4
<div> HTML öğesi, akış içeriği için genel kapsayıcıdır. CSS kullanılarak bir şekilde stillendirilinceye kadar içerik veya düzen
<div class="warning">
<img src="/media/examples/leopard.jpg"
alt="An intimidating leopard.">
<p>Beware of the leopard</p>
</div>
<span> HTML öğesi, doğal olarak hiçbir şeyi temsil etmeyen, içeriği ifade etmek için genel bir satır içi kapsayıcıdır. Öğeleri stil
amaçlarıyla (sınıf veya kimlik özniteliklerini kullanarak) veya lang gibi öznitelik değerlerini paylaştıklarından gruplamak için
kullanılabilir. Yalnızca başka hiçbir anlamsal öğe uygun olmadığında kullanılmalıdır. <span> , bir <div> öğesine çok benzer,
ancak <div> blok düzeyinde bir öğedir, <span> ise satır içi bir öğedir.
<p>Add the <span class="ingredient">basil</span>, <span class="ingredient">pine nuts</span> and <span class="ingredient">garlic</span>
<p>Gradually add the <span class="ingredient">olive oil</span> while running the blender slowly.</p>
<p>§1: The first rule of Fight Club is: You do not talk about Fight Club.</p>
<hr>
<p>§2: The second rule of Fight Club is: Always bring cupcakes.</p>
: The Thematic Break (Horizontal Rule) element - HTML: HyperText Markup Language | MDN
The HTML element represents a thematic break between paragraph-level elements: for example, a change
of scene in a story, or a shift of topic within a section. Historically, this has been presented as a horizontal
rule or line.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
<br> HTML öğesi, metinde bir satır sonu oluşturur (satır başı). Bir şiir veya bir adres yazmak için, dizelerin bölünmesinin
<p>
“Otuz Beş Yaş” şiiriyle bitiriyoruz;<br />
Ders II (2,3,4) 5
Gözünün yaşına © bakmadan gider.
</p>
<sup> HTML öğesi, yalnızca tipografik nedenlerle üst simge olarak görüntülenecek satır içi metni belirtir. Üst simgeler genellikle
<sub> HTML öğesi, yalnızca tipografik nedenlerle alt simge olarak görüntülenmesi gereken satır içi metni belirtir. Subscript'ler
tipik olarak daha küçük metin kullanılarak alçaltılmış bir taban çizgisiyle oluşturulur.
Ders II (2,3,4) 6