Predavanja i vežbe iz računarstva i informatike za učenike gimnazije

Računarstvo i informatika za učenike gimnazije

1. Razred

2. Razred

3. Razred

4. Razred

 

 

HTML

HTML oznake:

------------------------
<HTML> ... </HTML> dokument

<HEAD> ... </HEAD> zaglavlje

<TITLE> ... </TITLE> naslov

<BODY> ... </BODY> telo

------------------------

<!-- ... --> komentar

<A> ... </A> sidro

<B> ... </B> bold

<BR>  prelazak u novi red

<CENTER> ... </CENTER> centrirani tekst

<FONT> ... </FONT> podešavanje fonta

<I> ... </I> italik

<IMG> slika

<LI> element liste

<LINK> veza

<P> ... </P> pasus

<S> ... </S> precrtani tekst

<SMALL> ... </SMALL> sitniji tekst

<STRONG> ... </STRONG> jače naglašavanje

<SUB> ... </SUB> ispisivanje u indeksu

<SUP> ... </SUP> ispisivanje u eksponentu

<TT> ... </TT> teleprinterski tekst 

<U> ... </U> podvučeni tekst






Vežba 01.

Snimiti fajl Prva.htm na Desktop i otvoriti ga sa Notepad-om. Zatimpromeniti naslov u: "Prva stranica"


Vežba 02. <BR>

Dati tekst kopirati u fajl Prva.htm , a zatim ga formatirati da izgleda kao na slici 01 i snimiti fajl kao vezba02.htm 


Tekst za kopiranje:


HyperText Markup Language (HTML) is the main markup language for web pages. HTML elements are the basic building-blocks of webpages.

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like < html>), within the web page content. HTML tags most commonly come in pairs like < h1> and < /h1>, although some tags, known as empty elements, are unpaired, for example < img>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content.


Slika 01:



Vežba 03. ( B U S I TT)

Dati tekst kopirati u fajl Prva.htm , a zatim ga formatirati da izgleda kao na slici 02 i snimiti fajl kao vezba03.htm 



Tekst za kopiranje:


HyperText Markup Language (HTML) is the main markup language for web pages. HTML elements are the basic building-blocks of webpages.

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like < html>), within the web page content. HTML tags most commonly come in pairs like < h1> and < /h1>, although some tags, known as empty elements, are unpaired, for example < img>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content.



Slika 02




Vežba 04. ( normal sub sup small strong center)

Dati tekst kopirati u fajl Prva.htm , a zatim ga formatirati da izgleda kao na slici 03 i snimiti fajl kao vezba04.htm 



Tekst za kopiranje:


HyperText Markup Language (HTML) is the main markup language for web pages. HTML elements are the basic building-blocks of webpages.

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like < html>), within the web page content. HTML tags most commonly come in pairs like < h1> and < /h1>, although some tags, known as empty elements, are unpaired, for example < img>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tags, comments and other types of text-based content.


Slika 03





Vežba 05.                            (      <font size="3"> ... </font>   4, 5  i   <BR>    )

Napraviti fajl vezba05.htm na osnovu slike 04.

Slika 04



 



 

 

© 2012 Dragoljub Perišić 



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 



 

 

 

©2017 Dragoljub Perišić