pls i tried using note pad for html but i dont know how to begin | SoloLearn: Learn to code for FREE!

+3

pls i tried using note pad for html but i dont know how to begin

html

7/3/2020 8:43:50 PM

Oyedeji Hiqmat

21 Answers

New Answer

+7

https://www.sololearn.com/discuss/1433205/?ref=app https://www.sololearn.com/discuss/41794/?ref=app https://www.sololearn.com/discuss/180704/?ref=app https://www.sololearn.com/discuss/2089611/?ref=app https://www.sololearn.com/discuss/2232791/?ref=app https://www.sololearn.com/discuss/2310724/?ref=app https://www.sololearn.com/discuss/1899093/?ref=app https://www.sololearn.com/discuss/167497/?ref=app https://www.sololearn.com/discuss/2033251/?ref=app https://www.sololearn.com/discuss/816867/?ref=app

+7

1. Open Windows Notepad. 2. Type the following... <!DOCTYPE html> <html> <head> <title>My First Page</title> </head> <body> <h1>My Web Page</h1> <p>The quick brown fox jumps over the lazy dog.</p> </body> </html> 3. From the file menu select "File->Save As..." 4. In the 'Save As ' dialog box there is a drop down box labeled 'Save as type:', change the type to 'All Files (*.*)'. Now in the "File name:" box you can type index.html and click the 'Save' button. If you do not change the file type to 'All Files (*.*)' then notepad will automatically add the extension .txt to the file when it saves it, so your file will be called "index.html.txt" and windows will treat it as a text file not an html file. If you now open Windows File Explorer and navigate to where your file was saved you should see your html file. It should appear with your default browser icon and the name "index" below it. Note the Windows File Explorer hides extensions of known file types by default. To open the file in your browser just double click the file icon. To edit the file further either right click on the icon and choose "Open with -> Notepad", it may say "Edit with Notepad" depending on what programs you have installed. Alternatively, in Notepad from the file menu choose "File->Open..." and again change the file type to "All Files (*.*)" and you will be able to see your html files now. Select the file you wish to edit and click on the "Open" button.

+5

Look for some tutorial on YouTube, it might help

+4

Please be aware that not everyone has high speed internet, the latest hardware with gigabytes of ram, or even administrator rights on the machine they use. There is obviously a reason that Oyedeji Hiqmat needs to use Windows Notepad. Downloading advanced editors that require hundreds of megabytes of storage space such as Atom.io, Visual Studio Code, or Sublime Text just isn't an option for some users.

+3

Better use a proper text editor like vscode, atom or sublime text

+3

no am not using notepad ++ and am using windows i want to know how to start coding html using notepad

+3

Open notepad Type your html code, better start with basic hello world your example Save the file with name index.html Now open the saved file in your file explorer, the file should open in your browser and you will be able to see your html webpage there

+2

Vs code is best for starters you can try it

+2

Check Martin Taylor's comment. It's well detailed and deserves kudos

+1

Save your file with .htm or .html extension and open in through your browser.

+1

but how do i start

+1

i think if i tap new on note pad it would say text editor unicode something and others

+1

Oyedeji Hiqmat Try to follow this guide as a complement of sololearn course if you are stuck. (In the hamburger menu you will find several tutos if needed). https://www.tutorialrepublic.com/html-tutorial/html-get-started.php Happy learning.

+1

It doesn't sound like you are using windows notepad to me. There is no new button in windows notepad, there is a File->New menu option but it doesn't ask for any information it just clears the notepad editor window. Are you using NotePad++, which is a code editor? There is a difference.

+1

ok thanks but can u better still explain the steps for me

+1

For html .htm or .html when saving the file, like every languge. Example: js for javascript, .cs for c sharp, basically each programming languages short form

+1

For begin.... Notepad++

+1

Just write your first piece of code and see the results

+1

You may struggling in designing?

0

<html> <haid> </haid> <body> </Body> </html> This a basic html doc