How do i activate html code?

A simple text editor is all you need to learn HTML.

Learn HTML Using Notepad or TextEdit

Web pages can be created and modified by using professional HTML editors.

However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).

We believe that using a simple text editor is a good way to learn HTML.

Follow the steps below to create your first web page with Notepad or TextEdit.

Step 1: Open Notepad (PC)

Windows 8 or later:

Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.

Windows 7 or earlier:

Open Start > Programs > Accessories > Notepad

Step 1: Open TextEdit (Mac)

Open Finder > Applications > TextEdit

Also change some preferences to get the application to save files correctly. In Preferences > Format > choose "Plain Text"

Then under "Open and Save", check the box that says "Display HTML files as HTML code instead of formatted text".

Then open a new document to place the code.

Step 2: Write Some HTML

Write or copy the following HTML code into Notepad:

My First Heading

My first paragraph.

How do i activate html code?

Step 3: Save the HTML Page

Save the file on your computer. Select File > Save as in the Notepad menu.

Name the file "index.htm" and set the encoding to UTF-8 (which is the preferred encoding for HTML files).

How do i activate html code?

Tip: You can use either .htm or .html as file extension. There is no difference; it is up to you.

Step 4: View the HTML Page in Your Browser

Open the saved HTML file in your favorite browser (double click on the file, or right-click - and choose "Open with").

The result will look much like this:

How do i activate html code?

W3Schools Online Editor - "Try it Yourself"

With our free online editor, you can edit the HTML code and view the result in your browser.

It is the perfect tool when you want to test code fast. It also has color coding and the ability to save and share code with others:


Page Title

This is a Heading

This is a paragraph.

Try it Yourself »

Click on the "Try it Yourself" button to see how it works.

W3Schools Spaces

If you want to create your own website and save your code online, try our free website builder, called W3schools Spaces:

activate.html HTML Source View

!DOCTYPE html>>
	<link rel="icon" type="image/png" href="favicon196.png" sizes="196x196">
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<title>Create Wireless Tag Accounttitle>
	<link rel="stylesheet" href="styles/" />
	<link rel="stylesheet" href="styles/eth.css?2" />
	<script src="styles/jquery-1.6.4.min.js" type="text/javascript">script> 
	<script src="styles/" type="text/javascript">script> 
	<div data-role="page" id="activatePage">
		<div data-role="header" data-theme="d" data-position="inline" id="mainHeader">
			<a href="index.html" data-ajax="false" data-icon="delete" data-iconpos="notext">Cancela>
				Create an Accounth2>
		<div data-role="content" data-theme="c">
				Create an account for accessing your Tag Manager*p>
			<form action="" method="post" id="signupform" data-ajax="false" >
			<div data-role="fieldcontain">
				<label for="mac">Tag Manager Serial Number:label>
				<input type="text" name="mac" id="mac" value=""/>
			<div data-role="fieldcontain">
				<label for="managerName">Name this manager (e.g. Home):label>
				<input type="text" name="managerName" id="managerName" value=""/>
			<fieldset class="ui-corner-all"><legend>Create a User Account for this Tag Managerlegend>
				<div data-role="fieldcontain">
					<label for="email">Email:label>
					<input type="email" name="email" id="email" value="" />
				<div data-role="fieldcontain">
					<label for="pwd1">Choose a Password:label>
					<input type="password" name="pwd1" id="pwd1" value=""  />
				<div data-role="fieldcontain">
					<label for="pwd2">Retype the Password:label>
					<input type="password" name="pwd2" id="pwd2" value="" />
				<input type="checkbox" id="allowmore" class="custom" />
				<label for="allowmore">	Allow creating more accounts to access this Tag Managerlabel>
			<button data-inline="1" data-icon="check" type="submit" data-theme="b" id="submitBtn">
			<a data-role="button" data-ajax="false" data-inline="1"  data-theme="a" href='signin.html'>
				Login to an existing accounta>
		div><p style="margin-left: 20px;">
	*: To add a second tag manager under the same account, from <a href="index.html" data-ajax="false">the Web interfacea> 
	click "Settings..." then "Account" or use <a href="index.html?update_account" data-ajax="false">this direct linka> if you have already logged in.
	<div data-role="header" data-position="inline">
			Wireless Tag List
		<a href="" data-icon="info" data-iconpos="notext" data-ajax="false"
	<script src="styles/client.js?27" type="text/javascript">script> 
	<script type="text/javascript">

		$("#activatePage").live("pagebeforecreate", function () {
			var ua = navigator.userAgent.toLowerCase();
			if (ua.indexOf("iphone") != -1 || ua.indexOf("ipod") != -1) {

				$.each([$("#email"), $("#managerName"), $("#pwd1"), $("#mac"), $("#pwd2")], function (i, o) {
					var lb = o.parent().children("label").eq(0);
					lb.hide(); o.attr("placeholder", lb.text().replace(":", ""));

		$("#mac").blur(function (event) { = $(; });
		$("#mac").blur({ regex: "^\\S{12}$", message: "Serial number is 12 character long.", remote: "ethAccount.asmx/GetTagManagerName", remote_retval: "#managerName" }, validate);
			regex: VALID_EMAIL_REGEX, //"^[^\\W][a-zA-Z0-9\\_\\-\\.]+([a-zA-Z0-9\\_\\-\\.]+)*\\@[-a-zA-Z0-9_]+(\\.[a-zA-Z0-9_]+)*\\.[a-zA-Z]{2,4}$",
			message: "Valid email address required for password recovery."
		}, validate);
		$("#managerName").blur({ regex: "\\S{3,}", message: "name must be at least 3 characters" }, validate);
		$("#pwd1").blur({ regex: "^\\S{3,}$", message: "password must be at least 3 characters and must not contain space characters." }, validate);
		$("#pwd2").blur({ match: "#pwd1", message: "passwords must match" }, validate);
		$("#signupform").submit(function (event) {
			$("#signupform input").trigger('blur');
			if ($("label.error").length == 0) {
				var btn = $("#submitBtn");
				var oldhtml = show_finding(btn, "Creating...");
				var mac = $("#mac").val(); var email = $('#email').val(); var pwd = $('#pwd1').val(); var allowmore = $("#allowmore").is(":checked");
					url: WSROOT + "ethAccount.asmx/CreateAccount3",
					data: JSON.stringify({ "MAC": mac, "email": email, "password": pwd, "allowMore": allowmore, "managerName": $("#managerName").val(), 'facebook_auth': }),
					success: function (retval, textStatus) {
						if (retval.d != null && retval.d != "null" && retval.d.length > 1) {
							WSROOT = retval.d;
							if (window.NC) {
								if (window.NC.updateWsRoot) window.NC.updateWsRoot(WSROOT);
								url: WSROOT + "ethAccount.asmx/SignIn",
								data:  JSON.stringify({"email":email, "password":pwd}),
								success: function (retval, textStatus) {
									location.href = WSROOT + 'eth/index.html';
								error: function (xhr, textStatus, exception) {
									restore_finding(btn, oldhtml);
									popup_error(xhr, btn);

							location.href = retval.d + 'eth/index.html';
					error: function (xhr, textStatus, exception) {
						restore_finding(btn, oldhtml);
						popup_error(xhr, btn);


How do I enable HTML file?

HTML Editors.
Step 1: Open Notepad (PC) Windows 8 or later: ... .
Step 1: Open TextEdit (Mac) Open Finder > Applications > TextEdit. ... .
Step 2: Write Some HTML. Write or copy the following HTML code into Notepad: ... .
Step 3: Save the HTML Page. Save the file on your computer. ... .
Step 4: View the HTML Page in Your Browser..

How do I enable HTML in my browser?

If Google Chrome is set as your default browser, all you need to do is double-click the HTML file and it will automatically open in Chrome.

How do I enable HTML in Chrome?

Navigate to the web page you would like to examine. Right-click the page and look at the menu that appears. From that menu, click View page source. The source code for that page will now appear as a new tab in the browser.