an html document can contain
✓all the answers are true
An HTML document can contain attributes, tags, and plain text.
A page designed in HTML is called
✓web page
A web page is a document typically written in Hypertext Markup Language (HTML) that can be accessed over the Internet or other networks using an Internet browser. A web page is accessed by entering a URL address and can contain text, graphics, and hyperlinks to other web pages and files. The page you are currently reading is an example of a web page.
The HTML document contains a root tag called
✓html
Here is an example of a simple HTML document:
If we want to place text around an image, which CSS property should we use
✓float
The “float” property indicates that an item should be placed on the right or left side of its container. Example:
How can you created rounded corners using CSS3
✓border-radius
example: border-radius: 10px;
What does RGBa mean ?
✓Red Green Blue alpha
The RGB color model is an additive color model in which the red, green, and blue primary colors of light are added together in various ways to reproduce a broad array of colors.
which side javascript work
✓both
JavaScript is the dominant client-side scripting language of the Web, with 97% of websites using it for this purpose. Scripts are embedded in or included from HTML documents and interact with the DOM also js has a runtime environement which is nodejs so it can be in both side.
Which of the following is correct
✓window.alert
alert method is on the window object so we can use window.alert() or just alert(), example: alert("Hello");
How do you find the minimum of x and y using JavaScript?
✓Math.min(x,y);
example: console.log(Math.min(10,5)) //output 5
Which of the following statements will throw an error?
✓function () {}
we can't make a function without name execept the variable function or the collback function