21 AnswersNew Answer
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
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.
Look for some tutorial on YouTube, it might help
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.
Better use a proper text editor like vscode, atom or sublime text
no am not using notepad ++ and am using windows i want to know how to start coding html using notepad
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
Vs code is best for starters you can try it
Check Martin Taylor's comment. It's well detailed and deserves kudos
Save your file with .htm or .html extension and open in through your browser.
but how do i start
i think if i tap new on note pad it would say text editor unicode something and others
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.
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.
ok thanks but can u better still explain the steps for me
For begin.... Notepad++
Just write your first piece of code and see the results
You may struggling in designing?
<html> <haid> </haid> <body> </Body> </html> This a basic html doc