Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
College aantekeningen

easy to study

Beoordeling
-
Verkocht
-
Pagina's
19
Geüpload op
18-01-2023
Geschreven in
2022/2023

these are one of the best notes for HTML and editor

Instelling
Vak

Voorbeeld van de inhoud

HTML Documents
All HTML documents must start with a document type declaration: <!DOCTYPE
html>.

The HTML document itself begins with <html> and ends with </html>.

The visible part of the HTML document is between <body> and </body>.


The <!DOCTYPE> Declaration
The <!DOCTYPE> declaration represents the document type, and helps
browsers to display web pages correctly.

It must only appear once, at the top of the page (before any HTML tags).

The <!DOCTYPE> declaration is not case sensitive.

The <!DOCTYPE> declaration for HTML5 is:

<!DOCTYPE html>


HTML Headings
HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important
heading:


Example
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>




HTML Paragraphs
HTML paragraphs are defined with the <p> tag:

,Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>


HTML Links
HTML links are defined with the <a> tag:


Example
<a href="https://www.glbim.org">This is a link</a>

The link's destination is specified in the href attribute.

Attributes are used to provide additional information about HTML elements.


HTML Images
HTML images are defined with the <img> tag.

The source file (src), alternative text (alt), width, and height are provided
as attributes:


Example
<img src="image1.jpg" alt="glbim.org" width="104" height="142">


HTML Elements
The HTML element is everything from the start tag to the end tag:

<tagname>Content goes here...</tagname>
Examples of some HTML elements:

<h1>My First Heading</h1>
<p>My first paragraph.</p>

,Start tag Element content End tag



<h1> My First Heading </h1>



<p> My first paragraph. </p>



<br> none none




Nested HTML Elements
HTML elements can be nested (this means that elements can contain other
elements).

All HTML documents consist of nested HTML elements.

The following example contains four HTML elements
(<html>, <body>, <h1> and <p>):


Example
<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>


Empty HTML Elements
HTML elements with no content are called empty elements.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
18 januari 2023
Aantal pagina's
19
Geschreven in
2022/2023
Type
College aantekeningen
Docent(en)
Rahul
Bevat
Alle colleges

Onderwerpen

$8.89
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
diyabhati073

Maak kennis met de verkoper

Seller avatar
diyabhati073 Chaudhary Charan Singh University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
2
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen