Rancang halaman web untuk Menampilkan detail Perguruan Tinggi Anda dan departemennya menggunakan tag pemformatan teks dasar
<html> <head> <title> College Department Details </title> </head> <body bgcolor="lightgray"> <h1 align="center" style="color: black;">KR'S SREE NARAYANA COLLEGE</h1> <h2 align="center" style="color: black;">Thozhuvanur,Valamchery</h2> <h3 align="center" style="color: black;">Afliated to Calicut University</h3> <hr> <h2 align="center" style="color: black;">About College </h2> <p style="font-family:courier";>KR's Sree Narayana College is one of the premier institutions run under the aegis of KR's Sree Narayana Educational Trust, Thozhuvanoor, Valanchery. This institution is a sister concern of KR Bakes, a familiar brand name in the bakery field which has completed 47 years since its inception in 1969. The enviable growth of KR Bakes is attributed to the uncompromising and relentless attitude of the management regarding quality and technological up gradation. Taking lessons from the bakery business that if quality is not compromised, there would be demand for the product, the management of KR Bakes has decided to carry forward their legacy of the bakery business into the field of higher education by starting an Arts and Science college at Thozhuvanoor, Valanchery, one of the educationally backward areas of Kerala. </p> <h2><b>Courses Offered</b></h2> <ul> <li>Bsc Computer Science</li> <li>Bsc Physics</li> <li>Bsc Geology</li> <li>Bsc Phycology</li> </ul> <h2>Department of Computer Science</h2> <p style="font-family:courier">To educate the young minds with the ability to manage real world problem with the latest technology, to inculcate professional behaviors, strong ethical values, innovative research capability and leadership ability. Help the students to explore the depths of computer science, exalt in them and at the same time join hands with the other branches of science to turn something virtual into real and vice versa.</p> <h2>Faculties of Computer Science</h2> <ol> <li>Mrs.Abitha</li> <li>Mr.Sreeni</li> <li>Mr.Sooraj</li> <li>Mrs.Rahmath</li> </ol> <h3>Condact as </h3> <p>Phone Number: 0494 666333</p> <p>Email:[email protected]</p> </body> </html>Keluaran
Function: Link to another resource and indicate its relationship. There could be more than one ________20_______0 tags in the HEAD section.
Syntax:
________91_______6Attributes:
- rel, rev: indicates the forward or reverse relationship to the current document. Take value of ________1_______45, ________1_______46, ________1_______47, ________1_______48, ________1_______49, ________1_______50, ________1_______51, ________1_______52, ________1_______53, ________1_______54, and ________1_______55 (i.e., author).
[TODO] other attributes.
Example:
________91_______8The above ________20_______0 tags indicate that "________1_______57" is the stylesheet of MIME type "________1_______58"; "________1_______59" is the home page; "________1_______60" is the help page; this page ("________1_______61") is the previous page of "________1_______62" (in a reverse relationship), and this page is the next page of "________1_______63".
The most-commonly used ________20_______0 is to specify the external CSS style sheet. The rests are hardly used.
Including an IconA favicon (aka favorite icon, shortcut icon, URL icon) is a file containing a small 16x16 icon. Browser can display the icon besides the URL bar or bookmark. The favicon file is usually called "________1_______65".
To include an icon, provide a ________20_______0 tag in the section, as follows:
You can use PhotoShop/Element to create a favicon file; or use a simple imaging tool (such as MS Paint) to create a small image and then submit to an online converter to generate a favicon file.
Meta Information ________20_______0You can use ________20_______0 tag to include meta information about the document, such as keywords, author, expiration date, and page generator. The syntax is:
________71_______9Examples:
________91_______6The ________20_______0 tag can also be used to ask the server to insert an HTTP response header (read "HTTP Basics"). The syntax is as follow:
________71_______9EXAMPLE 1: Auto-Redirect after x seconds
________102_______2The above ________20_______0 tag triggers the server to include the following "Response Header" in the HTTP response message, when the page is downloaded:
The browser, in response to this response header, redirect to the given URL after 3 sec.
EXAMPLE 2: Auto-Refresh every x seconds
________71_______9EXAMPLE 3: Specify the character set used in the HTML document.
The server will include this response header in the response message, when the page is downloaded:
________102_______5Embedded Style Definition ________20_______0Function: For embedded style declarations, covered earlier.
Scripting Codes ________20_______0Function: For embedding scripting codes. See my "Introduction to JavaScript" on usage and examples.
More CSS
CSS Variables (Custom Properties)
CSS Variables (aka Custom Properties or Cascading Variables) allows you to define variables and using that variables in multiple properties, in a style sheet. This is really useful in setting themes (without using a preprocessor such as LESS or SASS).
Rules:
- The name of the variables shall begin with two dashes (________1_______73), e.g., ________1_______74.
- To reference the variable, use ________1_______75.
- To define global-scope CSS variables, place them in the ________1_______76 pseudo-class.
For examples,
________102_______6Modifying CSS Properties from JavaScript and jQuery
To modify the styles of an HTML element from JavaScript, set its ________83_______37 property, e.g.,
________102_______7To modify the style of an HTML element from jQuery:
CSS ________1_______78 Property - Positioning the HTML Block Elements
position: static|absolute|relative|fixed|inherit|initial|unset
You can use the property ________1_______78 to alter the position of block elements.
Each element has a natural location inside a page's flow, in the order read in by the browser. By default (________1_______80), elements are displayed from top to bottom in the normal flow. For block elements, line breaks are inserted at the beginning and the end to form a rectangular box.
You can remove the box from the normal flow and specify its location with respect to either its parent element (________1_______81_) atau jendela browser (The h1 tags enclose a heading level 1
The p tags is used to markup a paragraph.
82);Untuk elemen posisi non-The h1 tags enclose a heading level 1
The p tags is used to markup a paragraph.
_84, posisi baru ditentukan melalui properti The h1 tags enclose a heading level 1The p tags is used to markup a paragraph.
The p tags is used to markup a paragraph.
87, Table and Images Table and Images Logo of Languages S/No Language Logo 1. HTML5There are two types of lists in HTML:
- Ordered List.
- Unordered List.
This is a nested unordered list of links:
- Online Validator:
- W3C Online HTML Validator @ //validator.w3.org/.
- W3C Online CSS Validator @ //jigsaw.w3.org/css-validator/.
- Specifications:
- HTML5 @ //www.w3.org/TR/html5/.
- CSS3 Selectors @ //www.w3.org/TR/css3-selectors/.
There are two types of lists in HTML:
- Ordered List.
- Unordered List.
This is a nested unordered list of links:
- Online Validator:
- W3C Online HTML Validator @ //validator.w3.org/.
- W3C Online CSS Validator @ //jigsaw.w3.org/css-validator/.
- Specifications:
- HTML5 @ //www.w3.org/TR/html5/.
- CSS3 Selectors @ //www.w3.org/TR/css3-selectors/.
- atas. kiri. bawah. Baik. n. n%. mobil. Atur jarak dari tepi elemen ini ke tepi yang sesuai dari blok penampung
- lebar. tinggi. n. n%. mobil. Atur lebar dan tinggi elemen blok ini
- z-index. nomor. mobil. Ketika dua blok tumpang tindih karena pemosisian ulang, blok dengan nomor The h1 tags enclose a heading level 1
The p tags is used to markup a paragraph.
91 yang lebih besar berada di atas (i. e. , z-axis menunjuk ke luar layar seperti pada sistem koordinat grafik 3D standar). Angka negatif diperbolehkan. //validator.w3.org/. - W3C Online CSS Validator @ //jigsaw.w3.org/css-validator/.
- HTML5 @ //www.w3.org/TR/html5/.
- CSS3 Selectors @ //www.w3.org/TR/css3-selectors/.
There are two types of lists in HTML:
- Ordered List.
- Unordered List.
This is a nested unordered list of links:
- Online Validator:
- W3C Online HTML Validator @ //validator.w3.org/.
- W3C Online CSS Validator @ //jigsaw.w3.org/css-validator/.
- Specifications:
- HTML5 @ //www.w3.org/TR/html5/.
- CSS3 Selectors @ //www.w3.org/TR/css3-selectors/.
Misalnya, tetap
ditambahkan ke contoh di atas dalam pemosisian absolut. Perhatikan bahwa indeks-z digunakan untuk memastikan bahwa perbaikan
selalu di atas yang lain
's, terlepas dari urutan penulisan
's
CSS
_12 dan
13 Properti - Mengambang Elemen Kiri atau Kanan
mengambang. kiri. Baik. tidak ada
Anda dapat mendorong elemen ke tepi kiri atau kanan elemen penampung melalui properti
Anda dapat mengapung secara horizontal (mis. e. , kiri dan kanan), bukan atas dan bawah. Selain gambar, elemen float harus memiliki lebar dan tinggi yang ditentukan secara eksplisit. Elemen float sebenarnya diambil dari aliran normal. Elemen berikut bertindak seolah-olah elemen mengambang tidak ada, tetapi teks yang dilampirkan akan membungkus elemen mengambang
Jika banyak gambar diapungkan bersama (katakan ke kiri), gambar kedua akan didorong ke tepi kiri gambar pertama, dan seterusnya jika ada ruang horizontal yang tersedia; . Misalnya, kita dapat melayangkan banyak gambar kecil ke kiri sebagai berikut
Untuk mematikan pelampung, gunakan properti
jernih. kiri. Baik. keduanya. tidak ada
Elemen blok, secara default, dimulai dari tepi kiri dan menempati lebar penuh dari elemen yang memuatnya. Oleh karena itu, itu tidak akan berbaris satu sama lain dalam format kolom. Anda dapat menggunakan properti
[TODO] lagi
Contoh. Memposisikan Iframe"
"
Properti CSS
Anda juga dapat menggunakan properti CSS
The p tags is used to markup a paragraph.
_0CSS
_30 dan
31 Properti
menampilkan. memblokir. Di barisan. inline-blok. tidak ada. Daftar barang. meja. tabel-baris. tabel-sel. kisi. inline-grid
- blok dan sebaris. Properti
_30 mengontrol tata letak dan aliran elemen HTML. Sebagian besar elemen memiliki nilai default
_30 dari
34 (,
) atau
_35 (
0,
0)
_38 dapat digunakan untuk menampilkan elemen sebaris sebagai blok. Misalnya, Di sisi lain,
_39 dapat digunakan untuk menampilkan inline elemen blok. Sebagai contoh, - inline-blok. memadukan elemen dengan aliran teks, sambil memungkinkan kita menggunakan padding, margin, tinggi, dan properti serupa yang tidak memiliki efek yang terlihat pada elemen sebaris
- tidak ada. TIDAK akan ditampilkan dan tidak memakan ruang (vs.
_40 tidak akan menampilkan elemen tetapi elemen masih menggunakan ruang) - Daftar barang. tampilkan elemen seolah-olah itu adalah a
- .
- tabel, baris tabel, sel tabel. untuk menampilkan elemen (
) sebagai
visibilitas. tersembunyi. bisa dilihat. digunakan untuk menyembunyikan atau menampilkan elemen tanpa menghapus elemen dari aliran normal halaman. Artinya, ruang yang ditempati oleh elemen tersebut dipertahankan