2.
Oznaciti ispravan nacin za dodavanje tekstualnog polja unutar stranice:
Correct Answer
A. Input type="text"
Explanation
The correct answer is "input type="text". This is the correct way to add a text field within a webpage. The "input" tag is used to create an input field, and the "type" attribute specifies the type of input field, in this case "text" indicating a text field.
3.
Koji atribut definise tekst koji ce biti prikazan umesto slike u koliko ona ne moze biti prikazana:
Explanation
The correct answer is "alt". This attribute defines the alternative text that will be displayed instead of an image if it cannot be shown.
4.
CSS je skracenica od:
Correct Answer
A. Cascading Style Sheets
Explanation
CSS stands for Cascading Style Sheets. It is a style sheet language used for describing the presentation of a document written in HTML or XML. It is used to define the layout, colors, fonts, and other visual aspects of a web page. The term "cascading" refers to the way CSS rules are applied, where multiple style sheets can be used and their styles can be combined and overridden to create a cascading effect.
5.
Oznaciti tacan nacin za kriranje linkova u html-u:
Correct Answer
A. A href="http://www.viser.edu.rs">viser /a
Explanation
tag a ide izmedju
6.
<target> t e k s t </target> Koji tag treba koristiti da bi smo dobili prikaz t e k s t, tj. da bi tekst bio prikazan na ekranu bez izmena u pogledu praznina:
Explanation
The "pre" tag should be used to display the text "t e k s t" without any changes in terms of spaces. The "pre" tag preserves the formatting of the text, including spaces and line breaks, and displays it exactly as it appears in the HTML code.
7.
CSS stil se moze primeniti i na body element, npr:<style> body{font-size: 100% ;}</style>
Explanation
The given code snippet demonstrates the application of CSS to the body element. The style tag contains a CSS rule that sets the font size of the body element to 100%. Therefore, the statement "tacno" is correct as CSS can indeed be applied to the body element.
8.
Dobro poznati portovi se nalaze u opsegu:
Explanation
The correct answer is 0-1023. This range refers to the well-known ports, which are standardized ports commonly used for specific network services. These ports are reserved for the most commonly used protocols such as HTTP (port 80), FTP (port 21), and SSH (port 22).
9.
Selektor korisit ID elementa,npr id="podnaslov",na sledeci nacin:
Correct Answer
A. #podnaslov
Explanation
The given answer, #podnaslov, is the correct CSS selector for selecting an element with the ID "podnaslov". In CSS, the "#" symbol is used to select elements by their ID attribute. So, by using #podnaslov, the CSS will target and apply styles to the element with the ID "podnaslov".
10.
Koja vrednost ce biti prikazana? function() { if(true){ var a = 5; }alert(a);}
Explanation
The value that will be displayed is 5. This is because the variable "a" is declared inside the if statement, but it is still accessible outside of the if statement due to function scope. Therefore, when the alert function is called, it will display the value of "a", which is 5.
11.
Kod XML,pri zadavanju vrednosti atributa moguce je koristiti
Correct Answer
A. Jednostruke i dvostruke znake navoda
Explanation
When entering a value for an attribute in XML, it is possible to use both single and double quotation marks. This means that both types of quotation marks can be used interchangeably when assigning a value to an attribute in XML.
12.
XML je skacenica od:
Correct Answer
A. Extensible Markup Language
Explanation
XML stands for Extensible Markup Language. It is a markup language that is designed to store and transport data. XML allows users to define their own customized tags, making it flexible and adaptable to different types of data. It is widely used in web development, data storage, and data exchange between different systems.
13.
Kod elemenata koji koriste apsolutno pozicioniranje moze doci do medjusobnog preklapanja
Explanation
Elements that use absolute positioning can overlap with each other. This is because when an element is positioned absolutely, it is taken out of the normal flow of the document and positioned based on its nearest positioned ancestor. This allows elements to be placed anywhere on the page, potentially causing them to overlap with other elements if their positions are not properly managed.
14.
Oznaciti ispravnu JavaScript sintaksu za menjanje sadrzaja datog html elementa:<p id="demo">This is demonstration.</p>
Correct Answer
A. Document.getElementById("demo")innerhtml."Hello world";
Explanation
The correct answer is "document.getElementById("demo")innerhtml."Hello world";" because it uses the correct method, getElementById, to select the HTML element with the id "demo". It then uses the innerHTML property to change the content of the selected element to "Hello world".
15.
Stavke u vertiklanom meniju se definisu kao block elementi:
Explanation
The statement is saying that the items in the vertical menu are defined as block elements. This means that each item in the menu will take up the full width available and start on a new line. This is in contrast to inline elements, which would appear next to each other on the same line. Therefore, the correct answer is "tacno" (true).
16.
Napisati JavaSvript tip za brojeve?
Correct Answer
number
Explanation
The correct answer is "number" because in JavaScript, "number" is a data type that represents numeric values. It can be used to store and manipulate numerical data such as integers and floating-point numbers.
17.
Koja vrednost vraca sledeci JavaScript boolean ("false")?
Correct Answer
true
Explanation
The given JavaScript statement is evaluating the boolean value of the string "false". In JavaScript, any non-empty string is considered truthy, so the boolean value of "false" is true.
18.
Koji od navedenih svojstva moze imati sledece vrednosti: flex-start, flex-end, center, space-between, space-round?
Correct Answer
A. Justify-content
Explanation
The correct answer is "justify-content". This property determines how the flex items are positioned along the main axis of the flex container. The values "flex-start", "flex-end", "center", "space-between", and "space-round" are all possible values for the justify-content property.
19.
Oznaciti relativnu jedinicu mere
Explanation
The correct answer is "em". "em" is a relative unit of measurement commonly used in typography. It is equal to the current font size, making it a flexible unit that adjusts automatically with the font size. This allows for consistent spacing and proportions within a document or webpage.
20.
Oznaciti ispravan nacin za definisanje JavaScript niza:
Correct Answer
A. Var colors= ["red", "green", "blue"]
Explanation
The correct answer is var colors= ["red", "green", "blue"]. This is the correct way to define a JavaScript array. The array is enclosed in square brackets and each element is separated by a comma. The elements themselves are strings, denoted by double quotation marks.
21.
Ako se svojstvo background-size postavi na vrednost "contain" slika ce sacuvati "aspect ratio" tj. proporcionalnost izmedju sirine i visine:
Explanation
When the background-size property is set to "contain", it means that the image will be scaled to fit within the container while maintaining its aspect ratio. This means that the image will not be distorted or stretched, but rather resized proportionally so that both the width and height are within the container. Therefore, the statement "ako se svojstvo background-size postavi na vrednost 'contain' slika ce sacuvati 'aspect ratio' tj. proporcionalnost izmedju sirine i visine" is correct.
22.
Kom modelu je HTML dokument sa svojim sadrzajem predstavljen u obliku cvorova koji su hijerarhijski organizovani
Explanation
The given answer is correct because it states that in the DOM model, an HTML document with its content is represented as a hierarchy of nodes. The DOM (Document Object Model) is a programming interface for HTML and XML documents, which represents the structure of the document as a tree-like model where each element, attribute, and text is represented as a node. This hierarchical organization allows for easy traversal and manipulation of the document's structure and content.
23.
Koji tag koristimo kada pisemo JavaScript kod u HTML dokumentu?
Correct Answer
script
Explanation
When writing JavaScript code in an HTML document, we use the "script" tag. This tag is used to define a section of JavaScript code within an HTML document. By enclosing the JavaScript code within the "script" tags, the browser knows that it should interpret the content as JavaScript code. This allows us to add interactivity and functionality to our web pages.
24.
U kom tagu se definisu informacije o dokumentu koje ga bolje opisuju:
Explanation
The tag that defines information about a document and provides a better description of it is the "meta" tag. This tag is used to provide metadata about the HTML document, such as author, keywords, and description. It helps search engines and other tools understand the content and purpose of the document.
25.
Podrazumevana vrednost svojstva background-repeat je repeat?
Explanation
The given statement is correct. The default value for the background-repeat property is "repeat". This means that the background image will be repeated both horizontally and vertically to cover the entire element.
26.
Koje svojstvo se koristi za iskljucivanje svojstva float:
Correct Answer
clear
Explanation
The property "clear" is used to remove the floating property from an element. This property is commonly used when there are floated elements in a container and we want to prevent subsequent elements from wrapping around them. By applying the "clear" property, we can ensure that the following elements are displayed below the floated elements rather than beside them.
27.
Mapiranje slike se izvodi pomocu kog atributa img taga:
Explanation
The correct answer is "usemap". When mapping an image, the "usemap" attribute of the img tag is used. This attribute specifies an image map to be used with the image. An image map allows different areas of an image to be clickable, leading to different destinations or actions. By specifying the "usemap" attribute and providing the corresponding map element, the image can be mapped and interactive regions can be defined.
28.
U XML se cuva prazan prostor izmedju karaktera,sto sa html nije slucaj
Explanation
XML se koristi za čuvanje i razmenu podataka, a jedna od njegovih karakteristika je da čuva prazan prostor između karaktera. Ovo znači da se svi razmaci, tabulatori, prelazi u novi red i slično, koji se nalaze između karaktera, zadržavaju i ne gube se prilikom čuvanja XML dokumenta. Sa druge strane, u HTML-u prazan prostor između karaktera se obično zanemaruje i ne čuva se prilikom čuvanja HTML dokumenta.
29.
Oznaciti tacan oblik XML deklaracije
Correct Answer
A. ?xml version="1.0"?
Explanation
The correct answer is "?xml version="1.0"?" because it follows the correct syntax for declaring the XML version. The question mark at the beginning and end of the declaration indicate that it is a processing instruction and the version attribute is set to "1.0", which is the correct format for declaring the XML version.
30.
Ip protokol je protokol koji optimizuje isporuke svih paketa,pa je moguce da paketi do odredista stignu u drugacijem redosledu nego sto su poslati?
31.
Ko je uvek pojam responsive web design?:
Correct Answer
A. Ethan Marccote
Explanation
The correct answer is Ethan Marccote because he is always associated with the concept of responsive web design.
32.
JavaScript kod mozemo pisati samo unutar head sekcije HTML dokumenta?
Correct Answer
A. Netacno
Explanation
JavaScript kod možemo pisati i unutar head sekcije i unutar body sekcije HTML dokumenta. Opcija "netacno" je tačna jer je moguće pisati JavaScript kod i unutar body sekcije, obično na kraju dokumenta prije zatvaranja body taga.
33.
Koji input atribut oznacava da web citac moze poslati podatke samo ako su oznacena polja korektno popunjena?
Correct Answer
required
Explanation
The "required" input attribute in HTML indicates that the web browser can only submit data if the designated fields are correctly filled in. This attribute ensures that the user provides the necessary information before submitting the form.
34.
Tag header moze biti koriscen vise puta u jednom dokumentu
Explanation
The statement "tag header moze biti koriscen vise puta u jednom dokumentu" translates to "the header tag can be used multiple times in one document." This statement is true because in HTML, the tag is used to define the header section of a document or a section. It is not limited to being used only once in a document, and can be used multiple times to define different header sections or sections within a document.
35.
Koji ekstenziju imaju zasebni dokumenti,fajlovi,koji sadrze JavaScript
Correct Answer
.js
Explanation
The correct answer is ".js" because this file extension is commonly used for JavaScript files. JavaScript is a programming language that is primarily used for adding interactivity and dynamic features to websites. By using the ".js" file extension, it becomes easier to identify and differentiate JavaScript files from other types of files.
36.
Koji HTML5 tag se koristi za grupisanje naslova
Correct Answer
hgroup
Explanation
The HTML5 tag "hgroup" is used for grouping multiple heading elements together. It helps in organizing and structuring the headings in a document. By using the "hgroup" tag, multiple headings can be grouped under a single parent element, making it easier to style and manipulate them as a group.
37.
Koja svojstva fontova se koristi ukoliko zelimo da slova budu ukosena (italic?)
Correct Answer
font-style
Explanation
The property "font-style" is used to make the letters italic.
38.
Koji tag koristimo da bi smo prikazali web stranicu unutar druge web stranice?
Correct Answer
iframe
Explanation
We use the "iframe" tag to display a webpage within another webpage. The iframe tag allows us to embed content from another source, such as a different website, into our own webpage. This is commonly used when we want to include a map, a video, or any other external content on our webpage without redirecting the user to another website. The iframe tag is widely supported by all major web browsers and provides a seamless way to integrate external content into our webpage.
39.
Kako se u JavaScriptu zapisuje dogadjaj koji je izazvan kklikom na element?
Correct Answer
onclick
Explanation
The correct answer is "onclick". In JavaScript, the "onclick" event is used to trigger a function or code when an element is clicked. By assigning the "onclick" event to an element, you can specify what action should be performed when that element is clicked.
40.
Vrednost elementa za unos podataka priikom JavaScript validacije podataka, dobija se preko kog svojstva?
Correct Answer
value
Explanation
The value property is used to retrieve the value of an input element during JavaScript data validation. It allows access to the data entered by the user in the input field.
41.
Da bi se animacija zauvek ponavljala, koje vrednosti je potrebno dodeliti svosjtvu animation-duration-cound?
Correct Answer
infinite
Explanation
To make the animation repeat indefinitely, the value "infinite" needs to be assigned to the animation-duration-count property. This means that the animation will continue to play without stopping or reaching an end.
42.
Koje svojstvo definise kada ce animacija startovati?
Correct Answer
animation-delay
Explanation
The property "animation-delay" defines when the animation will start. It specifies the amount of time to wait before the animation begins, allowing for delayed animation effects.
43.
Imena tagova u XML nisu case-sensitive
Correct Answer
A. Netacno
Explanation
The given statement is incorrect. In XML, the tags are case-sensitive, meaning that the opening and closing tags must have the same case in order for the XML document to be valid. For example, and would be considered as two different tags in XML. Therefore, the correct answer is "netacno" (incorrect).
44.
Oznaciti selektor koji omogucava izbor elemenata na osnovu vrednosti atributa i to tako da mu odgovaraju samo oni elementi cija vrednost atributa sadrzi navedenu vrednost kao jednu rec(odvojeno razmaknicom)
Correct Answer
A. [atribut~=val]
Explanation
The correct answer is [atribut~=val]. This selector allows the selection of elements based on the value of an attribute, where the attribute value contains the specified value as one word (separated by spaces). This selector is used when you want to select elements whose attribute value is a specific word among multiple words.
45.
Port je ceo broj koji se sastoji od koliko bitova:
Explanation
A port is a number that is used to identify a specific process or application on a computer network. It is a 16-bit number, which means it consists of 16 bits. These bits are used to specify the source and destination ports for data communication. By using a 16-bit number, a port can have a maximum value of 65535, allowing for a large number of possible ports to be used for different purposes.
46.
U JavaScriptu pristup elementima objekta iz metode u objektu se obavlja uz pomoc koje kljucne reci
Correct Answer
this
Explanation
The keyword "this" is used in JavaScript to access the elements of an object from within a method in the object. It refers to the current object that the method is being called on. By using "this", we can access and manipulate the properties and methods of the object within its own context.
47.
DTD je skracenica za:
Correct Answer
A. Ni jedno od ponudjenog
Explanation
The correct answer is "ni jedno od ponudjenog" because none of the options provided (Do To Dance, Dynamic Type Definition, Direct Type Definition) are correct abbreviations for DTD.
48.
Ukoliko je velicina nekog elementa previse mala da bi prihvatila sadrzaj,moguce je specifirati kako ce se sadrzaj prilagoditi(da li ce biti skrolovan,vidljiv i van obuhvatajuceg elementa itd.) uz pomoc svojstva?
Correct Answer
overflow
Explanation
The correct answer is "overflow". The question is asking about how to specify the behavior of content when the size of an element is too small to accommodate it. The "overflow" property allows us to control how the content will be displayed, whether it will be scrolled, visible outside the containing element, or hidden, among other options.
49.
Kako se naziva poruka koja se pojavljuje kao dopunsko objasnjenje kada se kursor misa nadje iznad kontrol?
Correct Answer
tooltip
Explanation
A tooltip is a message that appears as a supplementary explanation when the mouse cursor is positioned over a control.