2014-08-25

HTML Comment <!---->

Comment Tags <!--  --> are used to insert comments in HTML.


Struture of Comment

 <!-- Write your comments --> 

Advantage of Comment
  • Comments are not displayed by the browser, but most of the Designer and Developer using this Comment Tag <!--  --> for Future Implementation.
  • With comments you can place message, code, notifications and reminders in your HTML Document. Comments are also great for debugging HTML, because you can comment out HTML lines of code, one at a time, to search for errors:

Comment Tag with Message

<html>
<head>
<title>My First Page</title>
</head>
<body>
<!--------- header part ----------------- -->
<div id="header"></div>

<div id="container">

<!--------- sidebar part ------------------->
<span id="sidebar"></span>
<!--------- content part ------------------->
<span id="blog"></span>

</div>

<!--------- Footer part ------------------->
<div id="footer"></div>
</body>
</html>

Comment Tag with Code

<html>
<body>
<!--------- Header part ----------->
<div id="header"></div>

<div id="container">
      <!--------- Sidebar part ----------->
      <span id="sidebar"></span>
      <!--------- Content part ----------->
      <span id="blog"></span>
</div>

<!---------
Footer part
<div id="footer"></div>
-->

</body>
</html>
In this example, footer is not require currently, so we can comment it, can be use in Future

How to unlock Scott user in Oracle 10g


We cannot Communicate directly with the Sql Plus Database, require of user account, one of that the 'Scott' user is default user.
But need of unlock this account at a first time.
So follow the process to unlock the account

After completion of installation of Oracle [ SQL Plus ] setup,
Go for SQL Plus | Path [ Oracle\product\10.2.0\db_1\BIN\sqlplus.exe ] / sqlplusw.exe
[Show] Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter user-name : [Type]  \ sys as sysdba
Enter password  : [Type] sys
SQl > [Type]  alter user scott account unlock;

[Show] User altered.

SQL > conn scott/tiger;
[Show]ERROR:
ORA-28001 : the Password has expired

Changing password for scott
New password : [Type]  tiger
Retype new password : [Type]  tiger
Password changed

Connected.

Sql >


Enjoy with Queries.

Tools & Plugins