Link to home
Start Free TrialLog in
Avatar of Ng Jo-Yi
Ng Jo-Yi

asked on

the table form line unable to display properly

<h1>Final Report</h1>
<h1>Session Sept2018-Jan2019</h1>
<h2 align=left>Programme             :      Diploma In Computer Science</h2>
<h2 align=left>Course/Module Code            :      TSE3204</h2>
<h2 align=left>Course/Module Name            :      Cisco Discovery1</h2>
<h2 align=left>Lecturer(s)      :      Mdm Jihadah Binti Ahmad</h2>
<h2 align=left>Examiner            :      Mdm Suraya Binti Sulaiman</h2>
<h2 align=left>Date            :      11 Jan 2019</h2>
<h2 align=left>Course/ Module Learning Outcomes:</h2>
<p align=left>Upon successful completion of the course students will be able to:</p>
<ul>
<li align=left>Demonstrate aptitude and competence for working with Cisco routers, switches and Cisco IOS. </li>
<li align=left>Show the practical skills required for associate-level networking support positions.</li>
<li align=left>Demonstrate skills necessary to pass 2 different Cisco certification exams, CCENT or CCNA</li>
  <ul>
https://codepen.io/estelle-yi/pen/GPWaga
Avatar of Zakaria Acharki
Zakaria Acharki
Flag of Morocco image

What do you mean by "unable to display properly"?
Avatar of Ng Jo-Yi
Ng Jo-Yi

ASKER

i mean the table form line
What about it? Do you want it to take the full page? Then you could replace 80% by 100% like

<table width="100%">

Open in new window

ok tq. is there possible to insert chart in the report.html
Yes sure just google for js charts and choose the one you need and add it, the most of them have a simple integration  process.
ok yeah i have done the chart so just add in the report.html right or is there any source code to add the js chart into the report.html
@NG Jo-Yi
Proceed as per comment from Zakaria Acharki.
---------------------------------------------------------------------------
Sample using javascript
<HTML>
	<HEAD>
		<TITLE>
			REPORT
		</TITLE>
	</HEAD>
	<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0>
		<TABLE border="1" height="100%" width="100%">
			<TR>
				<TD valign="top" align="left">
					<H1>
						Final Report
					</H1>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H1>
						Session Sept2018-Jan2019
					</H1>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Programme             :      Diploma In Computer Science
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Course/Module Code            :      TSE3204
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Course/Module Name            :      Cisco Discovery1
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Lecturer(s)      :      Mdm Jihadah Binti Ahmad
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Examiner            :      Mdm Suraya Binti Sulaiman
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Date            :      11 Jan 2019
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<H2 align=left>
						Course/ Module Learning Outcomes:
					</H2>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<P align=left>
						Upon successful completion of the course students will be able to:
					</P>
				</TD>
			</TR>
			<TR>
				<TD valign="top" align="left">
					<!--
					Un ordered lists
					-->
					<UL>
						<LI align=left>
							Demonstrate aptitude and competence for working with Cisco routers, switches and Cisco IOS.
						</LI>
						<LI align=left>
							Show the practical skills required for associate-level networking support positions.
						</LI>
						<LI align=left>
							Demonstrate skills necessary to pass 2 different Cisco certification exams, CCENT or CCNA
						</LI>
					</UL>
					<!--
					Write related comments for learning or during release or to handle bug reports.
					-->
				</TD>
			</TR>
			<SCRIPT type="text/javascript">
				document.write( "<TR><TD bgcolor=black valign='top' align='left'><FONT color=cyan><B>You can write related script locations using javascript.</B></FONT></TD></TR>");
				document.write( "<TR><TD bgcolor=black valign='top' align='left'><FONT color=cyan><B>During 2003 learned javascript HTML and CSS using https://www.w3schools.com</B></FONT>");
				document.write( "<TR><TD bgcolor=black valign='top' align='left'><FONT color=cyan><B>You can try related codes there.<BR>Example: https://www.w3schools.com/js/js_syntax.asp</B></FONT>");
			</SCRIPT>
		</TABLE>
	</BODY>
</HTML>

Open in new window


You can add external .js files inside html.
Example:
<SCRIPT type="text/javascript" src="../sample.js">
</SCRIPT>
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.