Question About Web Designing?

We listing Some Frequently asking Question about Android Training. I hope it will Help you

1.What is HTML?

HTML stands for Hyper Text Markup Language. It is used to create and display pages on the Web. It makes the text more interactive and dynamic.

2.What is Semantic HTML?

Semantic HTML is a coding style. It is the use of HTML markup to reinforce the semantics or meaning of the content.

For Example: In semantic HTML tag is not used for bold statement as well as tag is used for italic. Instead of these we use and tags.

3.What are Empty Elements?

HTML elements with no content are called empty elements. For Example:<br>, <hr> etc.

4.Does HTML Support Javascripts?

Yes, HTML supports JavaScripts. We can use JavaScript anywhere in the HTML Coding. Mainly there are four sections where we can add JavaScript in HTML.

1. Head Section : We can add JavaScript in Head section of HTML.<head>…..Javascript…. </head>

2. Body Section : <body>….. Javascript…</body>

3. Head and Body both : We can add Javascript in both head and body section. <body….Javascript…</body> and <head>…..Javascript…. </head>

4. External File : Script in and external file and then include in <head> ….. </head> section.

5.What is Difference Between HTML and HTML5?

  • Document of HTML is very large as compare to the HTML5.
  • Audio and Video tags are not present in HTML whereas HTML5 contains audio and video tags.
  • HTML supported by all old browsers whereas HTML5 is supported by new browser.

6.What is CSS?

  • CSS stands for Cascading Style Sheets.
  • It is used to design the Webpage.
  • CSS plays an important role in building the website.

7.How can you Integrate CSS on a Web Page?

There are three methods to integrate CSS on web pages.

  • Inline method– It is used to insert style sheets in HTML document
  • Embedded/Internal method– It is used to add a unique style to a single document
  • Linked/Imported/External method– It is used when you want to make changes on multiple pages.

8.Explain the Difference Between Visibility: Hidden and Display: none?

  • Visibility: Hidden hides the element, but it occupies space and affects the layout of the document.
  • Display: none also hides the element but not occupy space. It will not affect the layout of the document.

9.What is JavaScript?

JavaScript is a scripting language.

  • It is used for Validate the webpages.
  • It is object-based, lightweight, cross-platform translated language.
  • It is widely used for client-side validation.

10. What are the pop-up boxes available in JavaScript?

  • Alert Box
  • Confirm Box
  • Prompt Box

11.What is MySQL?

MySQL is an open source DBMS which is built, supported and distributed by MySQL AB (now acquired by Oracle)

12.What is the Difference Between Truncate and Delete?

Delete command is used to delete data from a table.

For Example : Remove emails where we write a script to delete the customer’s data. It deletes the rows of data from a table.

Whereas, Truncate is very dangerous command and should be used carefully as it deletes every row from a table.

13.What is PHP ?

  • PHP: Hypertext Preprocessor
  • It is open source server-side scripting language that is widely used for creation of dynamic web applications.
  • PHP is a loosely typed language

14.What is the Difference Between “echo” and “print” in PHP?

  • Echo can output one or more string but print can only output one string and always returns
  • Echo is faster than print because it does not return any value.

15.What is the Difference Between Include() Function and require() Function?

If there is any problem in loading a file then require() function generates a fatal error and halt the execution of the script.
include() function generates a warning but the script will continue execution.

16.What is session in PHP

PHP sessions are the simple way to store data for individual users/client against a unique session ID.

17.What is Default Session Time and Path in PHP?

Default session time in PHP is 1440 seconds (24 minutes) and Default session storage path is temporary folder/tmp on server.

18.What are Different Types of Errors Available in PHP ?

There are 4 types of errors in PHP, We have listed all below

  • E_ERROR: A fatal error that causes script termination.
  • E_WARNING: Run-time warning that does not cause script termination.
  • E_PARSE: Compile time parse error.
  • E_NOTICE: Run time notice caused due to error in code.

19.What does Isset() Function?

The isset() function checks if the variable is defined and not null.

20.What is the Difference Between GET and POST?

  • GET displays the submitted data as part of the URL, during POST this information is not shown as it’s encoded in the request.
  • GET can handle a maximum of 2048 characters, POST has no such restrictions.
  • Normally GET is used to retrieve data while POST to insert and update.

21.What are Different JOINS used in SQL?

There are 4 major types of joins made to use while working on multiple tables in SQL databases

  • Inner Join
  • Left Join (Left Outer Join)
  • Right Join (Right Outer Join)
  • Full Join (Full Outer Join)

22.What is Constraints? Mention its Types?

SQL constraints are used to specify rules for the data in a table. Constraints are commonly used in MYSQL.

  1. Primary Key
  2. Foreign Key
  3. Unique Key
  4. Check
  5. Default
  6. Not Null
  7. Null
  8. Index

23.How will you Access Session Variables in PHP?

Session variables are stored in associative array called $_SESSION[]. These variables can be accessed during lifetime of a session.

24.How will you check if Session Variable is Already set or not in PHP?

Make use of isset() function to check if session variable is already set or not.

25. What is the Difference Between ID and Class selector?

ID selector finds and modifies the style to any single element while Class selector can do to any number of elements.

Need Training Android?
Get Expert Training

Web Designing Training

Android Related Training

  • Mobile App Development
  • Ionic Training
  • Ionic Training
  • Ionic Training