/    Sign up×
Community /Pin to ProfileBookmark

After I put code in notepad, do I save as text documents, or All files

Hi, do I save as text documents or all files.
Then what do I do to see the result. Cause after ive saved, it goes back to the notepad page with the code Ive put in of course.

I put in <html><head>Hallo</head>
<body>hallo there</body>
</html>

Can I also put css in notepad.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@Eye_for_VideoMay 26.2012 — Yes you can use NotePad, but a simple, free, and better program is NotePad++

http://notepad-plus-plus.org/

GREAT little free HTML editor!

When saving a Web page file, add the file extension .html to the file (as you are doing the save).

To save a css file, when saving, add the .css file extension to the filename.

To view the Web page, just double click directly on the .html file... it will open up in a Web browser.

Also learn to validate your code as you go along so you don't build errors on errors...

For example, the code you posted has no DOCTYPE declaration so would cause browser display problems.

Validate here:

http://validator.w3.org/

Review DOCTYPE here:

http://www.w3schools.com/tags/tag_doctype.asp

Basic HTML here:

http://www.w3schools.com/html/default.asp

HTML Box model here:

http://www.w3schools.com/css/css_boxmodel.asp

..... the building blocks of HTML.

CSS here:

http://www.w3schools.com/css/

Best of luck,

Eye for Video
×

Success!

Help @wildguy2 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...