Wednesday, 27 September 2017

W3Schools XML Quiz

W3Schools XML Quiz

XML QUIZPoints: 19 out of 25
1. What does XML stand for?
You answered:
eXtensible Markup Language
 Correct Answer!

2. There is a way of describing XML data, how?
You answered:

XML uses a DTD to describe the data. 

Correct Answer!

3. XML's goal is to replace HTML
You answered:
False
 Correct Answer!

4. What is the correct syntax of the declaration which defines the XML version?
You answered:
<?xml version="1.0"?>
 Correct Answer!

5. What does DTD stand for?
You answered:
Document Type Definition
 Correct Answer!

6. Is this a "well formed" XML document?

<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
You answered:
Yes
 Correct Answer!

7. Is this a "well formed" XML document?

<?xml version="1.0"?>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
You answered:
No
 Correct Answer!

8. Which statement is true?
You answered:
All XML elements must be properly closed
 Correct Answer!

9. Which statement is true?
You answered:
XML documents must have a root tag
 Wrong Answer!

10. XML preserves white spaces
You answered:
True
 Correct Answer!

11. Is this a "well formed" XML document?

<?xml version="1.0"?>
<note>
<to age="29">Tove</to>
<from>Jani</from>
</note>
You answered:
Yes
 Correct Answer!

12. Is this a "well formed" XML document?

<?xml version="1.0"?>
<note>
<to age=29>Tove</to>
<from>Jani</from>
</note>
You answered:
No
 Correct Answer!

13. XML elements cannot be empty
You answered:
False
 Correct Answer!

14. Which is not a correct name for an XML element?
You answered:
<1dollar>
 Correct Answer!

15. Which is not a correct name for an XML element?
You answered:
<first name>
 Correct Answer!

16. Which is not a correct name for an XML element?
You answered:
<phone number>
 Wrong Answer!

17. XML attribute values must always be enclosed in quotes
You answered:
True
 Correct Answer!

18. What does XSL stand for?
You answered:
eXtensible Stylesheet Language
 Correct Answer!

19. What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
You answered:
<?xml-stylesheet type="text/xsl" href="mystyle.xsl" ?>
 Correct Answer!

20. For the XML parser to ignore a certain section of your XML document, which syntax is correct?
You answered:
<![CDATA[ Text to be ignored ]]>
 Correct Answer!

21. Which statement is true?
You answered:
Attributes must occur in defined order
 Wrong Answer!

22. What are XML entities used for?
You answered:
Entities define shortcuts to standard attributes
 Wrong Answer!

23. Which of the following XML fragments is well-formed?
You answered:
<customer id=3456><name>John Smith</name></customer>
 Wrong Answer!

24. What is an XML instance?
You answered:
An XML document
 Correct Answer!

25. Which XML DOM object represents a node in the node tree?
You answered:
The node object
 Correct Answer!

Tuesday, 26 September 2017

What is AJAX?

What is AJAX?

AJAX = Asynchronous JavaScript And XML.
AJAX is not a programming language.
AJAX just uses a combination of:
  • A browser built-in XMLHttpRequest object (to request data from a web server)
  • JavaScript and HTML DOM (to display or use the data)


AJAX is a misleading name. AJAX applications might use XML to transport data, but it is equally common to transport data as plain text or JSON text.


AJAX is used to create more interactive applications.

Friday, 14 October 2016

Table Overview

Source: https://codex.wordpress.org/Database_Description
WordPress 3.8 Tables (11)
There are all together 11 tables by default. They are :
  • wp_options
  • wp_users
  • wp_links
  • wp_commentmeta
  • wp_term_relationships
  • wp_postmeta
  • wp_posts
  • wp_term_taxonomy
  • wp_usermeta
  • wp_terms
  • wp_comments

Saturday, 8 October 2016

series
Cpanel Open


DAtabase Chk:
file manager
doamin Find -- go
wp-config.php
Edit
databasename
copy


BAckup of Wp-content

FIle manager
doamin Find
Click
Wp-content
Right Click
COompress
Zip
Wp-content
Right CLick
Download


Database backup

Phpmyadmin

click

DAtabase Chk
click on database
export
custom chk


drop table unchked check

Go

Database Donwload

how to change reset Through phpMyAdmin

Through phpMyAdmin

This article is for those who have phpMyAdmin access to their database. Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.
Begin by logging into phpMyAdmin and clicking databases.
Image #2
  • A list of databases will appear. Click your WordPress database.
Image #3
  • All the tables in your database will appear. If not, click Structure.
  • Look for wp_users in the Table column.
  • Click on the icon for browse.
  • Locate your Username under user_login
  • Click edit (may look like a pencil icon in some versions of phpMyAdmin)
Image #4
  • Your user_id will be shown, click on Edit
  • Next to the user_pass is a long list of numbers and letters.
  • Select and delete these and type in your new password.
  • Type in the password you want to use. Just type it in normally, but remember, it is case-sensitive.
  • In this example, the new password will be 'rabbitseatcarrots'
  • Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.
Image #5
  • Check that your password is actually correct, and that MD5 is in the box.
  • Click the 'Go' button to the bottom right.
  • Test the new password on the login screen. If it doesn't work, check that you've followed these instructions exactly.